Enum AiEvalMetricKind
pub enum AiEvalMetricKind {
Show 15 variants
Helpfulness,
Correctness,
Faithfulness,
Groundedness,
Relevance,
InstructionFollowing,
Safety,
RefusalQuality,
Toxicity,
Bias,
CitationQuality,
ToolUseCorrectness,
Latency,
Cost,
Custom,
}Variants§
Helpfulness
Correctness
Faithfulness
Groundedness
Relevance
InstructionFollowing
Safety
RefusalQuality
Toxicity
Bias
CitationQuality
ToolUseCorrectness
Latency
Cost
Custom
Implementations§
§impl AiEvalMetricKind
impl AiEvalMetricKind
pub const ALL: &'static [AiEvalMetricKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiEvalMetricKind
impl Clone for AiEvalMetricKind
§fn clone(&self) -> AiEvalMetricKind
fn clone(&self) -> AiEvalMetricKind
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 more§impl Debug for AiEvalMetricKind
impl Debug for AiEvalMetricKind
§impl Display for AiEvalMetricKind
impl Display for AiEvalMetricKind
§impl FromStr for AiEvalMetricKind
impl FromStr for AiEvalMetricKind
§type Err = AiEvalError
type Err = AiEvalError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiEvalMetricKind, <AiEvalMetricKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiEvalMetricKind, <AiEvalMetricKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiEvalMetricKind
impl Hash for AiEvalMetricKind
§impl Ord for AiEvalMetricKind
impl Ord for AiEvalMetricKind
§fn cmp(&self, other: &AiEvalMetricKind) -> Ordering
fn cmp(&self, other: &AiEvalMetricKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for AiEvalMetricKind
impl PartialEq for AiEvalMetricKind
§impl PartialOrd for AiEvalMetricKind
impl PartialOrd for AiEvalMetricKind
impl Copy for AiEvalMetricKind
impl Eq for AiEvalMetricKind
impl StructuralPartialEq for AiEvalMetricKind
Auto Trait Implementations§
impl Freeze for AiEvalMetricKind
impl RefUnwindSafe for AiEvalMetricKind
impl Send for AiEvalMetricKind
impl Sync for AiEvalMetricKind
impl Unpin for AiEvalMetricKind
impl UnsafeUnpin for AiEvalMetricKind
impl UnwindSafe for AiEvalMetricKind
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