Google Cloud Ces V1 Client - Class HallucinationMetricBehavior (0.1.0)

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 \ EvaluationMetricsThresholds

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED

Value: 0

Unspecified hallucination metric behavior.

Generated from protobuf enum HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED = 0;

DISABLED

Value: 1

Disable hallucination metric.

Generated from protobuf enum DISABLED = 1;

ENABLED

Value: 2

Enable hallucination metric.

Generated from protobuf enum ENABLED = 2;