# This file was auto-generated by Fern from our API Definition.

import typing

from ...types.factual_consistency_score import FactualConsistencyScore
from ...types.generation_info import GenerationInfo
from ...types.stream_error import StreamError
from ...types.stream_generation_chunk import StreamGenerationChunk
from ...types.stream_generation_end import StreamGenerationEnd
from ...types.stream_response_end import StreamResponseEnd
from ...types.stream_search_response import StreamSearchResponse

QueriesQueryStreamResponse = typing.Union[
    StreamSearchResponse,
    StreamGenerationChunk,
    StreamGenerationEnd,
    FactualConsistencyScore,
    GenerationInfo,
    StreamError,
    StreamResponseEnd,
]
