@squidcloud/client
    Preparing search index...

    Interface AiQueryGenerateQueryOptions

    Options for the query generation stage.

    At this stage Squid generates the database native query based on the user prompt and a set of collections selected in the previous stage.

    interface AiQueryGenerateQueryOptions {
        aiOptions?:
            | BaseAiChatOptions
            | GeminiChatOptions
            | OpenAiChatOptions
            | AnthropicChatOptions;
        maxErrorCorrections?: number;
    }
    Index

    Properties

    aiOptions?:
        | BaseAiChatOptions
        | GeminiChatOptions
        | OpenAiChatOptions
        | AnthropicChatOptions

    Customizes AI agent behavior used by the stage.

    maxErrorCorrections?: number

    Number of retries due to errors in a generated AI query. Default: 2.