pub struct EvalCase {
pub name: String,
pub actual: Vec<Invocation>,
pub expected: Vec<Invocation>,
pub scenario: Option<String>,
}Expand description
A single evaluation case — pairs actual invocations with optional expected results.
Fields§
§name: StringName of the eval case.
actual: Vec<Invocation>The actual agent invocations to evaluate.
expected: Vec<Invocation>The expected (golden) invocations for comparison.
scenario: Option<String>Optional conversation scenario description.
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