Interface AggregatedMetrics.HallucinationMetricsOrBuilder (0.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
0.10.0 (latest)
0.9.0
0.7.0
0.4.0
0.3.0
0.1.0
public static interface AggregatedMetrics . HallucinationMetricsOrBuilder extends MessageOrBuilder
Methods
getScore()
public abstract float getScore ()
Output only. The average hallucination score (0 to 1).
float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
float
The score.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]