pub struct CreateEvalLabelModelGrader {
    pub type: String,
    pub name: String,
    pub model: String,
    pub input: Vec<CreateEvalItem>,
    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<CreateEvalItem>A list of chat messages forming the prompt or context.
labels: Vec<String>The labels to classify to each item in the evaluation.
passing_labels: Vec<String>The labels that indicate a passing result.
Trait Implementations§
Source§impl Clone for CreateEvalLabelModelGrader
 
impl Clone for CreateEvalLabelModelGrader
Source§fn clone(&self) -> CreateEvalLabelModelGrader
 
fn clone(&self) -> CreateEvalLabelModelGrader
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 CreateEvalLabelModelGrader
impl RefUnwindSafe for CreateEvalLabelModelGrader
impl Send for CreateEvalLabelModelGrader
impl Sync for CreateEvalLabelModelGrader
impl Unpin for CreateEvalLabelModelGrader
impl UnwindSafe for CreateEvalLabelModelGrader
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