Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::WidgetTool::TextResponseConfig.
Configuration for the text response returned with the widget.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#static_text
def static_text() -> ::String
Returns
- (::String) — Optional. The static text response to return when type is STATIC.
#static_text=
def static_text=(value) -> ::String
Parameter
- value (::String) — Optional. The static text response to return when type is STATIC.
Returns
- (::String) — Optional. The static text response to return when type is STATIC.
#text_response_instruction
def text_response_instruction() -> ::String
Returns
- (::String) — Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
#text_response_instruction=
def text_response_instruction=(value) -> ::String
Parameter
- value (::String) — Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
Returns
- (::String) — Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
#type
def type() -> ::Google::Cloud::Ces::V1beta::WidgetTool::TextResponseConfig::Type
Returns
- (::Google::Cloud::Ces::V1beta::WidgetTool::TextResponseConfig::Type) — Optional. The strategy for providing the text response.
#type=
def type=(value) -> ::Google::Cloud::Ces::V1beta::WidgetTool::TextResponseConfig::Type
Parameter
- value (::Google::Cloud::Ces::V1beta::WidgetTool::TextResponseConfig::Type) — Optional. The strategy for providing the text response.
Returns
- (::Google::Cloud::Ces::V1beta::WidgetTool::TextResponseConfig::Type) — Optional. The strategy for providing the text response.