pub struct ScoreRecord {
pub run_id: Uuid,
pub trace_id: Option<Uuid>,
pub session_id: Option<String>,
pub name: String,
pub value: ScoreValue,
pub comment: Option<String>,
}Expand description
Evaluation score attached to a run.
Fields§
§run_id: UuidThe observation this score applies to.
trace_id: Option<Uuid>Optional explicit trace pointer (for cross-trace scores).
session_id: Option<String>Optional session pointer (session-level scores).
name: StringScore name (e.g. “novelty”, “factuality”).
value: ScoreValueThe score value.
comment: Option<String>Optional human comment.
Trait Implementations§
Source§impl Clone for ScoreRecord
impl Clone for ScoreRecord
Source§fn clone(&self) -> ScoreRecord
fn clone(&self) -> ScoreRecord
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 moreSource§impl Debug for ScoreRecord
impl Debug for ScoreRecord
Source§impl<'de> Deserialize<'de> for ScoreRecord
impl<'de> Deserialize<'de> for ScoreRecord
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
Auto Trait Implementations§
impl Freeze for ScoreRecord
impl RefUnwindSafe for ScoreRecord
impl Send for ScoreRecord
impl Sync for ScoreRecord
impl Unpin for ScoreRecord
impl UnsafeUnpin for ScoreRecord
impl UnwindSafe for ScoreRecord
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