public sealed class StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse : IMessage<StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse>, IEquatable<StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse>, IDeepCloneable<StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Dialogflow v2 API class StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse.
The complete response generated by the reactive mode capturing the entire accumulated streaming response, grounding metadata, and tool calls.
Implements
IMessageStreamingReactiveCompanionSuggestionsResponseTypesReactiveModeResponse, IEquatableStreamingReactiveCompanionSuggestionsResponseTypesReactiveModeResponse, IDeepCloneableStreamingReactiveCompanionSuggestionsResponseTypesReactiveModeResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
ReactiveModeResponse()
public ReactiveModeResponse()ReactiveModeResponse(ReactiveModeResponse)
public ReactiveModeResponse(StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
StreamingReactiveCompanionSuggestionsResponseTypesReactiveModeResponse |
Properties
GroundingMetadata
public GroundingMetadata GroundingMetadata { get; set; }Optional. Grounding metadata for the generated response.
| Property Value | |
|---|---|
| Type | Description |
GroundingMetadata |
|
Response
public string Response { get; set; }Optional. The full reactive suggestion generated by the Companion Agent. After the last streaming chunk is sent, this is the final response concatenating all the streaming response chunks together to represent the full reactive suggestion.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ToolCalls
public RepeatedField<ToolCallSuggestion> ToolCalls { get; }Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldToolCallSuggestion |
|