# Class HallucinationMetricsConfig (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    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. |