@squidcloud/client
    Preparing search index...

    Interface ExecuteAiQueryOptions

    Options for configuring AI query execution. Includes instructions, model overrides, and additional execution settings.

    interface ExecuteAiQueryOptions {
        collectionsToUse?: string[];
        enableCodeInterpreter?: boolean;
        enableRawResults?: boolean;
        generateQueryOptions?: AiGenerateQueryOptions;
        generateWalkthrough?: boolean;
        instructions?: string;
        maxErrorCorrections?: number;
        overrideModel?: string;
        selectCollectionsOptions?: AiQuerySelectCollectionsOptions;
    }
    Index

    Properties

    collectionsToUse?: string[]

    Set of collections that can be used in a native query. @deprecated, use 'selectCollectionsOptions.collectionsToUse'.

    enableCodeInterpreter?: boolean

    Whether to enable a code interpreter for query execution.

    enableRawResults?: boolean

    Whether to enable raw results output.

    generateQueryOptions?: AiGenerateQueryOptions

    Options for the query generation stage.

    generateWalkthrough?: boolean

    Whether to generate a step-by-step walkthrough for the response.

    instructions?: string

    Custom instructions to modify AI query generation behavior. @deprecated. Use generateQueryOptions.instructions.

    maxErrorCorrections?: number

    The number of allowed retries in case of errors during query execution. Defaults to 2. @deprecated. Use generateQueryOptions.maxErrorCorrections

    overrideModel?: string

    Specific AI model override for the query execution.

    selectCollectionsOptions?: AiQuerySelectCollectionsOptions

    Options for the collection selection stage.