Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::EvaluationMetricsConfig::HallucinationMetricsConfig.
Configuration for the hallucination metrics for the evaluation.
To disable the metric, set the message but do not set the
enable_hallucination_metrics field to true (or explicitly set it to
false). To unset the configuration and fallback to the default behavior,
omit the message entirely.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enable_hallucination_metrics
def enable_hallucination_metrics() -> ::Boolean- (::Boolean) — Optional. Whether to calculate hallucination metrics for the evaluation.
#enable_hallucination_metrics=
def enable_hallucination_metrics=(value) -> ::Boolean- value (::Boolean) — Optional. Whether to calculate hallucination metrics for the evaluation.
- (::Boolean) — Optional. Whether to calculate hallucination metrics for the evaluation.