Request for the AssistantService.Assist
method.
JSON representation |
---|
{ "name": string, "query": { object ( |
Fields | |
---|---|
name |
Required. The resource name of the |
query |
Optional. Current user query. Empty query is only supported if |
session |
Optional. The session to use for the request. If specified, the assistant has access to the session history, and the query and the answer are stored there. If Format: |
assistSkippingMode |
Optional. Determines the cases in which the assistant will not answer the query. If the answer is skipped, the reasons will be listed in |
fileIds[] |
Optional. The IDs of the files to be used for answering the request. When uploading a file, its ID is returned in |
userMetadata |
Optional. Information about the user initiating the query. |
languageCode |
Optional. Language to be used for answering if language detection fails. Also used as the language of error messages created by actions, regardless of language detection results. |
webGroundingEnabled |
Optional. If set to true, enables grounding with web search. Works only if |
dataStoreSpecs[] |
Optional. Specs defining Not setting this field will result in using all data stores in the engine, except when |
googleSearchGroundingEnabled |
Optional. Deprecated. Use |