pub struct EvalRun {Show 14 fields
pub object: String,
pub id: String,
pub eval_id: String,
pub status: EvalRunStatus,
pub model: String,
pub name: String,
pub created_at: u64,
pub report_url: String,
pub result_counts: EvalRunResultCounts,
pub per_model_usage: Option<Vec<EvalRunModelUsage>>,
pub per_testing_criteria_results: Option<Vec<EvalRunTestingCriteriaResult>>,
pub data_source: EvalRunDataSource,
pub metadata: Metadata,
pub error: Option<EvalApiError>,
}Expand description
A schema representing an evaluation run.
Fields§
§object: StringThe object type, which is always “eval.run”.
id: StringUnique identifier for the evaluation run.
eval_id: StringThe identifier of the associated evaluation.
status: EvalRunStatusThe status of the evaluation run.
model: StringThe model that is evaluated, if applicable.
name: StringThe name of the evaluation run.
created_at: u64Unix timestamp (in seconds) when the evaluation run was created.
report_url: StringThe URL to the rendered evaluation run report on the UI dashboard.
result_counts: EvalRunResultCountsCounters summarizing the outcomes of the evaluation run.
per_model_usage: Option<Vec<EvalRunModelUsage>>Usage statistics for each model during the evaluation run.
per_testing_criteria_results: Option<Vec<EvalRunTestingCriteriaResult>>Results per testing criteria applied during the evaluation run.
data_source: EvalRunDataSourceInformation about the run’s data source.
metadata: MetadataMetadata attached to the run.
error: Option<EvalApiError>Error information, if any.
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
impl StructuralPartialEq for EvalRun
Auto Trait Implementations§
impl Freeze for EvalRun
impl RefUnwindSafe for EvalRun
impl Send for EvalRun
impl Sync for EvalRun
impl Unpin 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