@squidcloud/client
    Preparing search index...

    Interface AiGenerateQueryOptions

    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 AiGenerateQueryOptions {
        aiOptions?:
            | BaseAiChatOptions
            | GeminiChatOptions
            | OpenAiChatOptions
            | OpenAiReasoningChatOptions
            | AnthropicChatOptions;
        maxErrorCorrections?: number;
    }
    Index

    Properties

    Used to customize AI agent behavior used by the stage.

    maxErrorCorrections?: number

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