#[non_exhaustive]pub enum AggregationResult {
PointwiseMetricResult(Box<PointwiseMetricResult>),
PairwiseMetricResult(Box<PairwiseMetricResult>),
ExactMatchMetricValue(Box<ExactMatchMetricValue>),
BleuMetricValue(Box<BleuMetricValue>),
RougeMetricValue(Box<RougeMetricValue>),
}Available on crate feature
gen-ai-tuning-service only.Expand description
The aggregation result.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PointwiseMetricResult(Box<PointwiseMetricResult>)
Result for pointwise metric.
PairwiseMetricResult(Box<PairwiseMetricResult>)
Result for pairwise metric.
ExactMatchMetricValue(Box<ExactMatchMetricValue>)
Results for exact match metric.
BleuMetricValue(Box<BleuMetricValue>)
Results for bleu metric.
RougeMetricValue(Box<RougeMetricValue>)
Results for rouge metric.
Trait Implementations§
Source§impl Clone for AggregationResult
impl Clone for AggregationResult
Source§fn clone(&self) -> AggregationResult
fn clone(&self) -> AggregationResult
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 AggregationResult
impl Debug for AggregationResult
Source§impl PartialEq for AggregationResult
impl PartialEq for AggregationResult
impl StructuralPartialEq for AggregationResult
Auto Trait Implementations§
impl Freeze for AggregationResult
impl RefUnwindSafe for AggregationResult
impl Send for AggregationResult
impl Sync for AggregationResult
impl Unpin for AggregationResult
impl UnsafeUnpin for AggregationResult
impl UnwindSafe for AggregationResult
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