Reference documentation and code samples for the Google Cloud Ces V1 Client class HallucinationMetricBehavior.
The hallucination metric behavior. Regardless of the behavior, the metric will always be calculated. The difference is that when disabled, the metric is not used to calculate the overall evaluation score.
Protobuf type google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior
Namespace
Google \ Cloud \ Ces \ V1 \ EvaluationMetricsThresholdsMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED
Value: 0Unspecified hallucination metric behavior.
Generated from protobuf enum HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED = 0;
DISABLED
Value: 1Disable hallucination metric.
Generated from protobuf enum DISABLED = 1;
ENABLED
Value: 2Enable hallucination metric.
Generated from protobuf enum ENABLED = 2;