StreamAssistResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)Response for the AssistantService.StreamAssist method.
Attributes |
|
|---|---|
| Name | Description |
answer |
google.cloud.discoveryengine_v1beta.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_v1beta.types.StreamAssistResponse.SessionInfo
Session information. Only included in the final StreamAssistResponse of the response stream. |
assist_token |
str
A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. |
invocation_tools |
MutableSequence[str]
The tool names of the tools that were invoked. |
invoked_skills |
MutableSequence[google.cloud.discoveryengine_v1beta.types.StreamAssistResponse.InvokedSkill]
The skills executed during the turn. |
Classes
InvokedSkill
InvokedSkill(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents a skill used during the assist call.
SessionInfo
SessionInfo(mapping=None, *, ignore_unknown_fields=False, **kwargs)Information about the session.