pub struct EvalLabelModelGrader {
pub type: String,
pub name: String,
pub model: String,
pub input: Vec<EvalItem>,
pub labels: Vec<String>,
pub passing_labels: Vec<String>,
}Expand description
A LabelModelGrader object which uses a model to assign labels to each item in the evaluation.
Fields§
§type: StringThe object type, which is always label_model.
name: StringThe name of the grader.
model: StringThe model to use for the evaluation.
input: Vec<EvalItem>§labels: Vec<String>The labels to assign to each item in the evaluation.
passing_labels: Vec<String>The labels that indicate a passing result.
Trait Implementations§
Source§impl Clone for EvalLabelModelGrader
impl Clone for EvalLabelModelGrader
Source§fn clone(&self) -> EvalLabelModelGrader
fn clone(&self) -> EvalLabelModelGrader
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for EvalLabelModelGrader
impl RefUnwindSafe for EvalLabelModelGrader
impl Send for EvalLabelModelGrader
impl Sync for EvalLabelModelGrader
impl Unpin for EvalLabelModelGrader
impl UnwindSafe for EvalLabelModelGrader
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