Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API module Google::Cloud::Ces::V1::EvaluationMetricsThresholds::ToolMatchingSettings::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.
Constants
EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED
value: 0
Unspecified behavior. Defaults to FAIL.
FAIL
value: 1
Fail the evaluation if an extra tool call is encountered.
ALLOW
value: 2
Allow the extra tool call.