Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::ErrorHandlingSettings::FallbackResponseConfig (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ErrorHandlingSettings::FallbackResponseConfig.

Configuration for handling fallback responses.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#custom_fallback_messages

def custom_fallback_messages() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The fallback messages in case of system errors (e.g. LLM errors), mapped by supported language code.

#custom_fallback_messages=

def custom_fallback_messages=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. The fallback messages in case of system errors (e.g. LLM errors), mapped by supported language code.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The fallback messages in case of system errors (e.g. LLM errors), mapped by supported language code.

#max_fallback_attempts

def max_fallback_attempts() -> ::Integer
Returns
  • (::Integer) — Optional. The maximum number of fallback attempts to make before the agent emitting EndSession Signal.

#max_fallback_attempts=

def max_fallback_attempts=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The maximum number of fallback attempts to make before the agent emitting EndSession Signal.
Returns
  • (::Integer) — Optional. The maximum number of fallback attempts to make before the agent emitting EndSession Signal.