# Interface EvaluationMetricsConfig.HallucinationMetricsConfigOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface EvaluationMetricsConfig.HallucinationMetricsConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getEnableHallucinationMetrics()

    public abstract boolean getEnableHallucinationMetrics()

Optional. Whether to calculate hallucination metrics for the evaluation.

`bool enable_hallucination_metrics = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enableHallucinationMetrics. |