public enum EvaluationMetricsThresholds.HallucinationMetricBehavior extends Enum<EvaluationMetricsThresholds.HallucinationMetricBehavior> implements ProtocolMessageEnumThe 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
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
DISABLED |
Disable hallucination metric. |
DISABLED_VALUE |
Disable hallucination metric. |
ENABLED |
Enable hallucination metric. |
ENABLED_VALUE |
Enable hallucination metric. |
HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED |
Unspecified hallucination metric behavior. |
HALLUCINATION_METRIC_BEHAVIOR_UNSPECIFIED_VALUE |
Unspecified hallucination metric behavior. |
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() |
|