NumericMetricInterpretationExtensions extension

Score interpretation helpers for NumericMetric.

on

Methods

interpret() → EvaluationMetricInterpretation

Available on NumericMetric, provided by the NumericMetricInterpretationExtensions extension

Interprets a 0.0–1.0 score (NLP metrics like BLEU/F1/GLEU).
interpretContentHarmScore() → EvaluationMetricInterpretation

Available on NumericMetric, provided by the NumericMetricInterpretationExtensions extension

Interprets a 0–7 severity scale used by content safety evaluators.
interpretScore() → EvaluationMetricInterpretation

Available on NumericMetric, provided by the NumericMetricInterpretationExtensions extension

Interprets a 1–5 score (quality evaluators like Coherence, Fluency).
tryParseEvaluationResponseWithTags(ChatResponse response, Duration duration) → bool

Available on NumericMetric, provided by the NumericMetricInterpretationExtensions extension

Parses a tagged evaluation response (XML <S0>, <S1>, <S2> format).