pub struct ScoreView {
pub comment: Option<String>,
pub data_type: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub run_name: Option<String>,
pub string_value: Option<String>,
pub timestamp: Option<String>,
pub trace_id: Option<String>,
pub value: Option<f64>,
}Fields§
§comment: Option<String>Comment is the grader’s reasoning, truncated at 2000 characters.
data_type: Option<String>DataType is NUMERIC, CATEGORICAL or BOOLEAN.
id: Option<String>ID is the score event’s handle.
name: Option<String>Name is the score name, which a rubric of the same name governs.
run_name: Option<String>RunName is the run this score was recorded under, when it came from one.
string_value: Option<String>StringValue is the label of a CATEGORICAL score.
timestamp: Option<String>Timestamp is when the score was recorded.
trace_id: Option<String>TraceID is the model call this score grades, when it grades one.
value: Option<f64>Value is the numeric score; for BOOLEAN it is 0 or 1.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ScoreView
impl<'de> Deserialize<'de> for ScoreView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ScoreView
Auto Trait Implementations§
impl Freeze for ScoreView
impl RefUnwindSafe for ScoreView
impl Send for ScoreView
impl Sync for ScoreView
impl Unpin for ScoreView
impl UnsafeUnpin for ScoreView
impl UnwindSafe for ScoreView
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