Dialogflow V2 API - Class Google::Cloud::Dialogflow::V2::StreamingReactiveCompanionSuggestionsResponse::ReactiveModeResponse (v1.18.0)

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

#grounding_metadata=

def grounding_metadata=(value) -> ::Google::Cloud::Dialogflow::V2::GroundingMetadata
Parameter
Returns

#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

#tool_calls=

def tool_calls=(value) -> ::Array<::Google::Cloud::Dialogflow::V2::ToolCallSuggestion>
Parameter
Returns