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