Google Cloud Dialogflow v2 API - Class StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse (4.32.0)

public sealed class StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse : IMessage<StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse>, IEquatable<StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse>, IDeepCloneable<StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > StreamingReactiveCompanionSuggestionsResponse.Types.ReactiveModeResponse

Namespace

Google.Cloud.Dialogflow.V2

Assembly

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