Required. The resource name of the Assistant. Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}
Empty query is only supported if fileIds are provided. In this case, the answer will be generated based on those context files.
session
string
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 - is specified as the session ID, or it is left empty, then a new session is created with an automatically generated ID.
Optional. Information about the user initiating the query.
languageCode
string
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
boolean
Optional. If set to true, enables grounding with web search. Works only if Assistant.web_grounding_type is [WEB_GROUNDING_TYPE_GOOGLE_SEARCH][] or [WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH][].
Optional. Specs defining DataStores to filter on in a search call and configurations for those data stores. This is only considered for Engines with multiple data stores.
Not setting this field will result in using all data stores in the engine, except when ignoreDataStores is set to true.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-16 UTC."],[],[]]