#[non_exhaustive]pub struct EvalSuite {
pub path: PathBuf,
pub description: Option<String>,
pub workflow: PathBuf,
pub providers: Option<PathBuf>,
pub knowledge: Option<PathBuf>,
pub mcp: Option<PathBuf>,
pub plugins: Vec<PathBuf>,
pub cases: Vec<TestCase>,
pub gate: Gate,
pub calibration: Option<Calibration>,
}Expand description
A parsed eval file, with relative paths resolved against its directory.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.path: PathBufWhere the suite was loaded from (empty for in-memory suites).
description: Option<String>§workflow: PathBufThe workflow under test.
providers: Option<PathBuf>Model providers file layered over the environment providers.
knowledge: Option<PathBuf>Knowledge base config for knowledge-retrieval nodes.
mcp: Option<PathBuf>MCP servers file.
plugins: Vec<PathBuf>Plugin directories.
cases: Vec<TestCase>Every test case: inline tests first, then dataset rows, with defaultTest merged in.
gate: Gate§calibration: Option<Calibration>Judge calibration mode (the workflow is a judge, expected are labels).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for EvalSuite
impl Freeze for EvalSuite
impl Move for EvalSuite
impl RefUnwindSafe for EvalSuite
impl Send for EvalSuite
impl Sync for EvalSuite
impl Unpin for EvalSuite
impl UnsafeUnpin for EvalSuite
impl UnwindSafe for EvalSuite
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