- JSON representation
- EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
- EvaluationMetricsThresholds.ToolMatchingSettings
- EvaluationMetricsThresholds.ToolMatchingSettings.ExtraToolCallBehavior
Threshold settings for metrics in an Evaluation.
| JSON representation |
|---|
{ "goldenEvaluationMetricsThresholds": { object ( |
| Fields | |
|---|---|
goldenEvaluationMetricsThresholds |
Optional. The golden evaluation metrics thresholds. |
hallucinationMetricBehavior |
Optional. Deprecated: Use |
goldenHallucinationMetricBehavior |
Optional. The hallucination metric behavior for golden evaluations. |
scenarioHallucinationMetricBehavior |
Optional. The hallucination metric behavior for scenario evaluations. |
EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Settings for golden evaluations.
| JSON representation |
|---|
{ "turnLevelMetricsThresholds": { object ( |
| Fields | |
|---|---|
turnLevelMetricsThresholds |
Optional. The turn level metrics thresholds. |
expectationLevelMetricsThresholds |
Optional. The expectation level metrics thresholds. |
toolMatchingSettings |
Optional. The tool matching settings. 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. |
EvaluationMetricsThresholds.ToolMatchingSettings
Settings for matching tool calls.
| JSON representation |
|---|
{
"extraToolCallBehavior": enum ( |
| Fields | |
|---|---|
extraToolCallBehavior |
Optional. Behavior for extra tool calls. Defaults to FAIL. |
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.
| Enums | |
|---|---|
EXTRA_TOOL_CALL_BEHAVIOR_UNSPECIFIED |
Unspecified behavior. Defaults to FAIL. |
FAIL |
Fail the evaluation if an extra tool call is encountered. |
ALLOW |
Allow the extra tool call. |