Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::StreamingReactiveCompanionSuggestionsResponse::ReactiveModeResponse.
The complete response generated by the reactive mode capturing the entire accumulated streaming response, grounding metadata, and tool calls.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#grounding_metadata
def grounding_metadata() -> ::Google::Cloud::Dialogflow::V2::GroundingMetadata
Returns
- (::Google::Cloud::Dialogflow::V2::GroundingMetadata) — Optional. Grounding metadata for the generated response.
#grounding_metadata=
def grounding_metadata=(value) -> ::Google::Cloud::Dialogflow::V2::GroundingMetadata
Parameter
- value (::Google::Cloud::Dialogflow::V2::GroundingMetadata) — Optional. Grounding metadata for the generated response.
Returns
- (::Google::Cloud::Dialogflow::V2::GroundingMetadata) — Optional. Grounding metadata for the generated response.
#response
def response() -> ::String
Returns
- (::String) — 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.
#response=
def response=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.
#tool_calls
def tool_calls() -> ::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>) — Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
#tool_calls=
def tool_calls=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>
Parameter
- value (::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>) — Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.
Returns
- (::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>) — Optional. Captures all the rich structured tool calls and their associated citations used by the reactive agent to generate the reactive suggestion.