pub struct EvalCase {
pub eval_id: String,
pub description: String,
pub conversation: Vec<Turn>,
pub session_input: SessionInput,
pub tags: Vec<String>,
}Expand description
A single evaluation case (test case)
Fields§
§eval_id: StringUnique identifier for this test case
description: StringOptional description
conversation: Vec<Turn>The conversation turns to evaluate
session_input: SessionInputSession configuration
Optional tags for filtering
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EvalCase
impl<'de> Deserialize<'de> for EvalCase
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 EvalCase
impl RefUnwindSafe for EvalCase
impl Send for EvalCase
impl Sync for EvalCase
impl Unpin for EvalCase
impl UnwindSafe for EvalCase
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