Judgment

Trait Judgment 

Source
pub trait Judgment {
    // Required method
    fn passes(&self) -> bool;
}
Available on crate feature experimental only.
Expand description

A helper trait for LlmJudgeMetric. Types that implement Judgment generally have a very standard way of either passing or failing. As such, this can be enforced as a trait.

Required Methods§

Source

fn passes(&self) -> bool

Implementors§