Class GoogleCloudDiscoveryengineV1betaStreamAssistResponse
Response for the AssistantService.StreamAssist method.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta.Data
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class GoogleCloudDiscoveryengineV1betaStreamAssistResponse : IDirectResponseSchema
Properties
Answer
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.
Declaration
[JsonProperty("answer")]
public virtual GoogleCloudDiscoveryengineV1betaAssistAnswer Answer { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaAssistAnswer |
AssistToken
A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support.
Declaration
[JsonProperty("assistToken")]
public virtual string AssistToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
InvocationTools
The tool names of the tools that were invoked.
Declaration
[JsonProperty("invocationTools")]
public virtual IList<string> InvocationTools { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
SessionInfo
Session information. Only included in the final StreamAssistResponse of the response stream.
Declaration
[JsonProperty("sessionInfo")]
public virtual GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo SessionInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo |