ErrorHandlingSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)Settings to describe how errors should be handled in the app.
Attributes |
|
|---|---|
| Name | Description |
error_handling_strategy |
google.cloud.ces_v1beta.types.ErrorHandlingSettings.ErrorHandlingStrategy
Optional. The strategy to use for error handling. |
fallback_response_config |
google.cloud.ces_v1beta.types.ErrorHandlingSettings.FallbackResponseConfig
Optional. Configuration for handling fallback responses. |
end_session_config |
google.cloud.ces_v1beta.types.ErrorHandlingSettings.EndSessionConfig
Optional. Configuration for ending the session in case of system errors (e.g. LLM errors). |
Classes
EndSessionConfig
EndSessionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for ending the session in case of system errors (e.g. LLM errors).
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ErrorHandlingStrategy
ErrorHandlingStrategy(value)Defines the strategy for handling errors.
FallbackResponseConfig
FallbackResponseConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Configuration for handling fallback responses.