Skip to main content

evaluate_grounding

Function evaluate_grounding 

Source
pub fn evaluate_grounding(
    claim: &NQuin,
    facts: &[NQuin],
    thresholds: GroundingThresholds,
) -> GroundingVerdict
Expand description

Grounding score for claim against the resolved cited facts, as a verdict under thresholds. Empty evidence ⇒ Ungrounded(0.0) (fail closed).