pub enum CreateEvalTestingCriterion {
LabelModel(CreateEvalLabelModelGrader),
StringCheck(EvalGraderStringCheck),
TextSimilarity(EvalGraderTextSimilarity),
Python(EvalGraderPython),
ScoreModel(EvalGraderScoreModel),
}Variants§
LabelModel(CreateEvalLabelModelGrader)
A LabelModelGrader object which uses a model to assign labels to each item in the evaluation.
StringCheck(EvalGraderStringCheck)
A StringCheckGrader object that performs a string comparison between input and reference using a specified operation.
TextSimilarity(EvalGraderTextSimilarity)
Text similarity grader.
Python(EvalGraderPython)
Python grader.
ScoreModel(EvalGraderScoreModel)
Score model grader.
Trait Implementations§
Source§impl Clone for CreateEvalTestingCriterion
impl Clone for CreateEvalTestingCriterion
Source§fn clone(&self) -> CreateEvalTestingCriterion
fn clone(&self) -> CreateEvalTestingCriterion
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateEvalTestingCriterion
impl Debug for CreateEvalTestingCriterion
impl StructuralPartialEq for CreateEvalTestingCriterion
Auto Trait Implementations§
impl Freeze for CreateEvalTestingCriterion
impl RefUnwindSafe for CreateEvalTestingCriterion
impl Send for CreateEvalTestingCriterion
impl Sync for CreateEvalTestingCriterion
impl Unpin for CreateEvalTestingCriterion
impl UnwindSafe for CreateEvalTestingCriterion
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