pub struct EvolutionMetrics {
pub retrieval_accuracy: f32,
pub token_efficiency: f32,
pub latency_p50_ms: i64,
pub latency_p99_ms: i64,
pub cost_estimate: f32,
pub benchmark_queries: i32,
}Expand description
Benchmark metrics from an evolution run.
Fields§
§retrieval_accuracy: f32How relevant were the retrievals? [0.0, 1.0]
token_efficiency: f32Tokens used vs budget ratio [0.0, 1.0]
latency_p50_ms: i6450th percentile latency in milliseconds
latency_p99_ms: i6499th percentile latency in milliseconds
cost_estimate: f32Estimated cost for the benchmark run
benchmark_queries: i32Number of queries used in benchmark
Trait Implementations§
Source§impl Clone for EvolutionMetrics
impl Clone for EvolutionMetrics
Source§fn clone(&self) -> EvolutionMetrics
fn clone(&self) -> EvolutionMetrics
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 ComposeSchema for EvolutionMetrics
impl ComposeSchema for EvolutionMetrics
Source§impl Debug for EvolutionMetrics
impl Debug for EvolutionMetrics
Source§impl<'de> Deserialize<'de> for EvolutionMetrics
impl<'de> Deserialize<'de> for EvolutionMetrics
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
Source§impl PartialEq for EvolutionMetrics
impl PartialEq for EvolutionMetrics
Source§impl Serialize for EvolutionMetrics
impl Serialize for EvolutionMetrics
Source§impl ToSchema for EvolutionMetrics
impl ToSchema for EvolutionMetrics
impl StructuralPartialEq for EvolutionMetrics
Auto Trait Implementations§
impl Freeze for EvolutionMetrics
impl RefUnwindSafe for EvolutionMetrics
impl Send for EvolutionMetrics
impl Sync for EvolutionMetrics
impl Unpin for EvolutionMetrics
impl UnwindSafe for EvolutionMetrics
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