weaviate-agents
    Preparing search index...

    Type Alias QueryAgentStreamOptions

    Options for QueryAgent.stream.

    stream is deprecated; use QueryAgent.askStream with QueryAgentAskStreamOptions instead.

    type QueryAgentStreamOptions = {
        collections?: (string | QueryAgentCollectionConfig)[];
        context?: QueryAgentResponse;
        includeFinalState?: boolean;
        includeProgress?: boolean;
    }
    Index

    Properties

    collections?: (string | QueryAgentCollectionConfig)[]

    The collections to query. Will override any collections passed in the constructor.

    Optional previous response from the agent.

    includeFinalState?: boolean

    Whether to include the final state in the stream. This is the final QueryAgentResponse, yielded as the last item in the stream.

    includeProgress?: boolean

    Whether to include progress messages in the stream. These are informational messages about the progress of the agent's search.