pub struct RubricScore {
pub name: String,
pub score: f64,
pub reasoning: String,
}Available on crate feature
eval only.Expand description
Score for a single rubric
Fields§
§name: StringRubric name
score: f64Score achieved (0.0 - 1.0)
reasoning: StringReasoning for the score
Trait Implementations§
Source§impl Clone for RubricScore
impl Clone for RubricScore
Source§fn clone(&self) -> RubricScore
fn clone(&self) -> RubricScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RubricScore
impl RefUnwindSafe for RubricScore
impl Send for RubricScore
impl Sync for RubricScore
impl Unpin for RubricScore
impl UnsafeUnpin for RubricScore
impl UnwindSafe for RubricScore
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