Enum AiEvalKind
pub enum AiEvalKind {
PromptEval,
ResponseEval,
ConversationEval,
ToolUseEval,
AgentEval,
RagEval,
SafetyEval,
RegressionEval,
HumanEval,
Custom,
}Variants§
PromptEval
ResponseEval
ConversationEval
ToolUseEval
AgentEval
RagEval
SafetyEval
RegressionEval
HumanEval
Custom
Implementations§
§impl AiEvalKind
impl AiEvalKind
pub const ALL: &'static [AiEvalKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiEvalKind
impl Clone for AiEvalKind
§fn clone(&self) -> AiEvalKind
fn clone(&self) -> AiEvalKind
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 AiEvalKind
impl Debug for AiEvalKind
§impl Display for AiEvalKind
impl Display for AiEvalKind
§impl FromStr for AiEvalKind
impl FromStr for AiEvalKind
§type Err = AiEvalError
type Err = AiEvalError
The associated error which can be returned from parsing.
§fn from_str(value: &str) -> Result<AiEvalKind, <AiEvalKind as FromStr>::Err>
fn from_str(value: &str) -> Result<AiEvalKind, <AiEvalKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiEvalKind
impl Hash for AiEvalKind
§impl Ord for AiEvalKind
impl Ord for AiEvalKind
§impl PartialEq for AiEvalKind
impl PartialEq for AiEvalKind
§impl PartialOrd for AiEvalKind
impl PartialOrd for AiEvalKind
impl Copy for AiEvalKind
impl Eq for AiEvalKind
impl StructuralPartialEq for AiEvalKind
Auto Trait Implementations§
impl Freeze for AiEvalKind
impl RefUnwindSafe for AiEvalKind
impl Send for AiEvalKind
impl Sync for AiEvalKind
impl Unpin for AiEvalKind
impl UnsafeUnpin for AiEvalKind
impl UnwindSafe for AiEvalKind
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