HallucinationMetricsConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)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.
Attribute |
|
|---|---|
| Name | Description |
enable_hallucination_metrics |
bool
Optional. Whether to calculate hallucination metrics for the evaluation. |