Reference documentation and code samples for the Google Cloud Ces V1 Client class GoldenEvaluationMetricsThresholds.
Settings for golden evaluations.
Generated from protobuf message google.cloud.ces.v1.EvaluationMetricsThresholds.GoldenEvaluationMetricsThresholds
Namespace
Google \ Cloud \ Ces \ V1 \ EvaluationMetricsThresholdsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ turn_level_metrics_thresholds |
GoldenEvaluationMetricsThresholds\TurnLevelMetricsThresholds
Optional. The turn level metrics thresholds. |
↳ expectation_level_metrics_thresholds |
GoldenEvaluationMetricsThresholds\ExpectationLevelMetricsThresholds
Optional. The expectation level metrics thresholds. |
↳ tool_matching_settings |
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. |
getTurnLevelMetricsThresholds
Optional. The turn level metrics thresholds.
| Returns | |
|---|---|
| Type | Description |
GoldenEvaluationMetricsThresholds\TurnLevelMetricsThresholds|null |
|
hasTurnLevelMetricsThresholds
clearTurnLevelMetricsThresholds
setTurnLevelMetricsThresholds
Optional. The turn level metrics thresholds.
| Parameter | |
|---|---|
| Name | Description |
var |
GoldenEvaluationMetricsThresholds\TurnLevelMetricsThresholds
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExpectationLevelMetricsThresholds
Optional. The expectation level metrics thresholds.
| Returns | |
|---|---|
| Type | Description |
GoldenEvaluationMetricsThresholds\ExpectationLevelMetricsThresholds|null |
|
hasExpectationLevelMetricsThresholds
clearExpectationLevelMetricsThresholds
setExpectationLevelMetricsThresholds
Optional. The expectation level metrics thresholds.
| Parameter | |
|---|---|
| Name | Description |
var |
GoldenEvaluationMetricsThresholds\ExpectationLevelMetricsThresholds
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getToolMatchingSettings
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.
| Returns | |
|---|---|
| Type | Description |
ToolMatchingSettings|null |
|
hasToolMatchingSettings
clearToolMatchingSettings
setToolMatchingSettings
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.
| Parameter | |
|---|---|
| Name | Description |
var |
ToolMatchingSettings
|
| Returns | |
|---|---|
| Type | Description |
$this |
|