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 some fields, this column indicates that a result will always be returned for this column.
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 some fields, this column indicates that a result will always be returned for this column.
Table last updated: Oct 2, 2024
errorstringyes PreviewThe error from the query assistant.