Enum EvaluationMetricsThresholds.HallucinationMetricBehavior (0.1.0)

public enum EvaluationMetricsThresholds.HallucinationMetricBehavior extends Enum<EvaluationMetricsThresholds.HallucinationMetricBehavior> implements ProtocolMessageEnum

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 enum google.cloud.ces.v1.EvaluationMetricsThresholds.HallucinationMetricBehavior

Implements

ProtocolMessageEnum

Static Fields

Name Description
DISABLED

Disable hallucination metric.

DISABLED = 1;

DISABLED_VALUE

Disable hallucination metric.

DISABLED = 1;

ENABLED

Enable hallucination metric.

ENABLED = 2;

ENABLED_VALUE

Enable hallucination metric.

ENABLED = 2;

HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED

Unspecified hallucination metric behavior.

HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED = 0;

HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED_VALUE

Unspecified hallucination metric behavior.

HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()