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: String
The object type, which is always label_model
.
name: String
The name of the grader.
model: String
The 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 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 EvalLabelModelGrader
impl Debug for EvalLabelModelGrader
Source§impl Default for EvalLabelModelGrader
impl Default for EvalLabelModelGrader
Source§fn default() -> EvalLabelModelGrader
fn default() -> EvalLabelModelGrader
Returns the “default value” for a type. Read more
Auto 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