AssistResponse

Response for the AssistantService.Assist method.

JSON representation
{
  "answer": {
    object (AssistAnswer)
  },
  "sessionInfo": {
    object (SessionInfo)
  },
  "assistToken": string
}
Fields
answer

object (AssistAnswer)

The AssistAnswer resource generated in response to the query.

sessionInfo

object (SessionInfo)

Session information.

assistToken

string

A global unique ID that identifies the current request-response pair. Used for feedback and support.

SessionInfo

Information about the session.

JSON representation
{
  "session": string,
  "queryId": string
}
Fields
session

string

Name of the newly generated or continued session.

Format: projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}

queryId

string

Query ID that corresponds to this assist API call. One session can have multiple turns, each with a unique query ID.

By specifying the session name and this query ID in the Assist API call, the assist request happens in the context of the search results from this search call.