Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ErrorHandlingSettings.
Settings to describe how errors should be handled in the app.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_session_config
def end_session_config() -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::EndSessionConfig
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::EndSessionConfig) — Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
#end_session_config=
def end_session_config=(value) -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::EndSessionConfig
Parameter
- value (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::EndSessionConfig) — Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::EndSessionConfig) — Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
#error_handling_strategy
def error_handling_strategy() -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::ErrorHandlingStrategy
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::ErrorHandlingStrategy) — Optional. The strategy to use for error handling.
#error_handling_strategy=
def error_handling_strategy=(value) -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::ErrorHandlingStrategy
Parameter
- value (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::ErrorHandlingStrategy) — Optional. The strategy to use for error handling.
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::ErrorHandlingStrategy) — Optional. The strategy to use for error handling.
#fallback_response_config
def fallback_response_config() -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::FallbackResponseConfig
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::FallbackResponseConfig) — Optional. Configuration for handling fallback responses.
#fallback_response_config=
def fallback_response_config=(value) -> ::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::FallbackResponseConfig
Parameter
- value (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::FallbackResponseConfig) — Optional. Configuration for handling fallback responses.
Returns
- (::Google::Cloud::Ces::V1beta::ErrorHandlingSettings::FallbackResponseConfig) — Optional. Configuration for handling fallback responses.