Google Cloud Ces V1 Client - Class ErrorHandlingStrategy (0.2.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class ErrorHandlingStrategy.

Defines the strategy for handling errors.

Protobuf type google.cloud.ces.v1.ErrorHandlingSettings.ErrorHandlingStrategy

Namespace

Google \ Cloud \ Ces \ V1 \ ErrorHandlingSettings

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ERROR_HANDLING_STRATEGY_UNSPECIFIED

Value: 0

Unspecified error handling strategy.

Generated from protobuf enum ERROR_HANDLING_STRATEGY_UNSPECIFIED = 0;

NONE

Value: 1

No specific handling is enabled.

Generated from protobuf enum NONE = 1;

FALLBACK_RESPONSE

Value: 2

A fallback message will be returned to the user in case of system errors (e.g. LLM errors).

Generated from protobuf enum FALLBACK_RESPONSE = 2;

END_SESSION

Value: 3

An EndSession signal will be emitted in case of system errors (e.g. LLM errors).

Generated from protobuf enum END_SESSION = 3;