pub struct EvalRun {
pub id: String,
pub object: Option<String>,
pub created_at: Option<u64>,
pub eval_id: String,
pub status: EvalRunStatus,
pub data_source: Option<Value>,
pub result_counts: Option<EvalRunCounts>,
pub per_testing_criteria_results: Option<Vec<EvalRunPerTestingCriteriaResult>>,
pub error: Option<EvalRunError>,
pub metadata: Option<HashMap<String, String>>,
pub name: Option<String>,
pub model: Option<String>,
}Expand description
An eval run object.
Fields§
§id: StringThe run ID, e.g. evalrun_....
object: Option<String>The object type, always eval.run.
created_at: Option<u64>Unix timestamp (seconds) of when the run was created.
eval_id: StringThe ID of the eval this run belongs to.
status: EvalRunStatusThe current lifecycle status.
data_source: Option<Value>The data source of the run, as raw JSON.
result_counts: Option<EvalRunCounts>The per-criterion results of the run.
per_testing_criteria_results: Option<Vec<EvalRunPerTestingCriteriaResult>>The per-criterion pass/fail breakdown.
error: Option<EvalRunError>The error of a failed run.
metadata: Option<HashMap<String, String>>Arbitrary key-value metadata attached to the run.
name: Option<String>The name of the run.
model: Option<String>The model of the run, if applicable.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EvalRun
impl<'de> Deserialize<'de> for EvalRun
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 EvalRun
impl RefUnwindSafe for EvalRun
impl Send for EvalRun
impl Sync for EvalRun
impl Unpin for EvalRun
impl UnsafeUnpin for EvalRun
impl UnwindSafe for EvalRun
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