Optional
analyzeOptions specify how to query result should be analyzed (processed) before returning it to user.
Optional
collectionsSet of collections that can be used in a native query. @deprecated, use 'selectCollectionsOptions.collectionsToUse'. @internal.
Optional
enableWhether to enable a code interpreter for query execution.
@deprecated. Use analyzeResultsOptions.enableCodeInterpreter
.
@internal.
Optional
enableWhether to enable raw results output.
Optional
generateOptions for the query generation stage.
Optional
generateWhether to generate a step-by-step walkthrough for the response.
Optional
instructionsCustom instructions to modify AI query generation behavior. Used for all stages unless there is a per-stage override.
Optional
maxThe number of allowed retries in case of errors during query execution. Defaults to 2.
@deprecated. Use generateQueryOptions.maxErrorCorrections
@internal.
Optional
overrideSpecific AI model override for the query execution. @deprecated. Use per-stage models. @internal.
Optional
selectOptions for the collection selection stage.
Options for configuring AI query execution. Includes instructions, model overrides, and additional execution settings.