Reference documentation and code samples for the Google Cloud Ces V1 Client class EvaluationMetricsThresholds.
Threshold settings for metrics in an Evaluation.
Generated from protobuf message google.cloud.ces.v1.EvaluationMetricsThresholds
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ golden_evaluation_metrics_thresholds |
EvaluationMetricsThresholds\GoldenEvaluationMetricsThresholds
Optional. The golden evaluation metrics thresholds. |
↳ hallucination_metric_behavior |
int
Optional. Deprecated: Use |
↳ golden_hallucination_metric_behavior |
int
Optional. The hallucination metric behavior for golden evaluations. |
↳ scenario_hallucination_metric_behavior |
int
Optional. The hallucination metric behavior for scenario evaluations. |
getGoldenEvaluationMetricsThresholds
Optional. The golden evaluation metrics thresholds.
| Returns | |
|---|---|
| Type | Description |
EvaluationMetricsThresholds\GoldenEvaluationMetricsThresholds|null |
|
hasGoldenEvaluationMetricsThresholds
clearGoldenEvaluationMetricsThresholds
setGoldenEvaluationMetricsThresholds
Optional. The golden evaluation metrics thresholds.
| Parameter | |
|---|---|
| Name | Description |
var |
EvaluationMetricsThresholds\GoldenEvaluationMetricsThresholds
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHallucinationMetricBehavior
Optional. Deprecated: Use golden_hallucination_metric_behavior instead.
The hallucination metric behavior is currently used for golden evaluations.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type HallucinationMetricBehavior. |
setHallucinationMetricBehavior
Optional. Deprecated: Use golden_hallucination_metric_behavior instead.
The hallucination metric behavior is currently used for golden evaluations.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type HallucinationMetricBehavior. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGoldenHallucinationMetricBehavior
Optional. The hallucination metric behavior for golden evaluations.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type HallucinationMetricBehavior. |
setGoldenHallucinationMetricBehavior
Optional. The hallucination metric behavior for golden evaluations.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type HallucinationMetricBehavior. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScenarioHallucinationMetricBehavior
Optional. The hallucination metric behavior for scenario evaluations.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type HallucinationMetricBehavior. |
setScenarioHallucinationMetricBehavior
Optional. The hallucination metric behavior for scenario evaluations.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type HallucinationMetricBehavior. |
| Returns | |
|---|---|
| Type | Description |
$this |
|