pub struct RubricScorer {
pub model: Arc<dyn JudgeModel>,
pub criteria: Vec<RubricCriterion>,
pub pass_at: f32,
}Fields§
§model: Arc<dyn JudgeModel>§criteria: Vec<RubricCriterion>§pass_at: f32Pass threshold on the (weighted) average score.
Trait Implementations§
Source§impl AsyncScorer for RubricScorer
impl AsyncScorer for RubricScorer
Auto Trait Implementations§
impl Freeze for RubricScorer
impl !RefUnwindSafe for RubricScorer
impl Send for RubricScorer
impl Sync for RubricScorer
impl Unpin for RubricScorer
impl UnsafeUnpin for RubricScorer
impl !UnwindSafe for RubricScorer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more