Google Cloud Ces V1 Client - Class ExtraToolCallBehavior (0.1.0)

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

Defines the behavior when an extra tool call is encountered. An extra tool call is a tool call that is present in the execution but does not match any tool call in the golden expectation.

Protobuf type google.cloud.ces.v1.EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehavior

Namespace

Google \ Cloud \ Ces \ V1 \ EvaluationMetricsThresholds \ ToolMatchingSettings

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED

Value: 0

Unspecified behavior. Defaults to FAIL.

Generated from protobuf enum EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED = 0;

FAIL

Value: 1

Fail the evaluation if an extra tool call is encountered.

Generated from protobuf enum FAIL = 1;

ALLOW

Value: 2

Allow the extra tool call.

Generated from protobuf enum ALLOW = 2;