QueryAssistantAssistance is a union datatype for either a successful assistance result, or an error. Based on this use either QueryAssistantSuccess or the QueryAssistantError datatype and its parameters -- or both. Below are the tables for each datatype:

Table: QueryAssistantSuccess

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Oct 2, 2024
diagnostics[QueryAssistantDiagnostic]yes PreviewThe diagnostics of the query assistant. See QueryAssistantDiagnostic.
resultstringyes PreviewThe results of the diagnostics.

Table: QueryAssistantError

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Oct 2, 2024
errorstringyes PreviewThe error from the query assistant.