Class StreamAssistResponse (0.13.11)

StreamAssistResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response for the AssistantService.StreamAssist method.

Attributes

Name Description
answer google.cloud.discoveryengine_v1.types.AssistAnswer
Assist answer resource object containing parts of the assistant's final answer for the user's query. Not present if the current response doesn't add anything to previously sent AssistAnswer.replies. Observe AssistAnswer.state to see if more parts are to be expected. While the state is IN_PROGRESS, the AssistAnswer.replies field in each response will contain replies (reply fragments) to be appended to the ones received in previous responses. [AssistAnswer.name][] won't be filled. If the state is SUCCEEDED, FAILED or SKIPPED, the response is the last response and [AssistAnswer.name][] will have a value.
session_info google.cloud.discoveryengine_v1.types.StreamAssistResponse.SessionInfo
Session information.
assist_token str
A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.

Classes

SessionInfo

SessionInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Information about the session.