pub struct EvalSummary {
pub total_cases: usize,
pub passed: usize,
pub failed: usize,
pub total_cost: Cost,
pub total_usage: Usage,
pub total_duration: Duration,
}Expand description
Aggregated statistics for an eval set run.
Fields§
§total_cases: usizeTotal number of cases evaluated.
passed: usizeNumber of cases that passed all metrics.
failed: usizeNumber of cases that failed at least one metric.
total_cost: CostAggregated cost across all cases.
total_usage: UsageAggregated token usage across all cases.
total_duration: DurationTotal wall-clock duration across all cases.
Trait Implementations§
Source§impl Clone for EvalSummary
impl Clone for EvalSummary
Source§fn clone(&self) -> EvalSummary
fn clone(&self) -> EvalSummary
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 EvalSummary
impl Debug for EvalSummary
Source§impl<'de> Deserialize<'de> for EvalSummary
impl<'de> Deserialize<'de> for EvalSummary
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 EvalSummary
impl RefUnwindSafe for EvalSummary
impl Send for EvalSummary
impl Sync for EvalSummary
impl Unpin for EvalSummary
impl UnsafeUnpin for EvalSummary
impl UnwindSafe for EvalSummary
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