Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::ToolCallSuggestion.
Structured wrapper that pairs tool execution details with strongly-typed citations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#text_update
def text_update() -> ::String
Returns
- (::String) — Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
#text_update=
def text_update=(value) -> ::String
Parameter
- value (::String) — Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
Returns
- (::String) — Optional. The conversational text update generated by the agent accompanying this tool call (e.g. "The status of your order 12345 is currently being retrieved..."). This is a status update emitted alongside in-flight tool execution and is not accumulated into the final response.
#tool_call_info
def tool_call_info() -> ::Google::Cloud::Dialogflow::V2::GeneratorSuggestion::ToolCallInfo
Returns
- (::Google::Cloud::Dialogflow::V2::GeneratorSuggestion::ToolCallInfo) — Optional. Tool execution request/response details.
#tool_call_info=
def tool_call_info=(value) -> ::Google::Cloud::Dialogflow::V2::GeneratorSuggestion::ToolCallInfo
Parameter
- value (::Google::Cloud::Dialogflow::V2::GeneratorSuggestion::ToolCallInfo) — Optional. Tool execution request/response details.
Returns
- (::Google::Cloud::Dialogflow::V2::GeneratorSuggestion::ToolCallInfo) — Optional. Tool execution request/response details.