pub struct RunRetrieveResponse {Show 14 fields
pub id: String,
pub created_at: i64,
pub data_source: DataSource,
pub error: EvalAPIError,
pub eval_id: String,
pub metadata: Option<Value>,
pub model: String,
pub name: String,
pub object: String,
pub per_model_usage: Vec<PerModelUsage>,
pub per_testing_criteria_results: Vec<PerTestingCriteriaResult>,
pub report_url: String,
pub result_counts: ResultCounts,
pub status: String,
}Expand description
A schema representing an evaluation run.
Fields§
§id: StringUnique identifier for the evaluation run.
created_at: i64Unix timestamp (in seconds) when the evaluation run was created.
data_source: DataSourceInformation about the run’s data source.
error: EvalAPIErrorAn object representing an error response from the Eval API.
eval_id: StringThe identifier of the associated evaluation.
metadata: Option<Value>Set of 16 key-value pairs that can be attached to an object.
model: StringThe model that is evaluated, if applicable.
name: StringThe name of the evaluation run.
object: StringThe type of the object. Always “eval.run”.
per_model_usage: Vec<PerModelUsage>Usage statistics for each model during the evaluation run.
per_testing_criteria_results: Vec<PerTestingCriteriaResult>Results per testing criteria applied during the evaluation run.
report_url: StringThe URL to the rendered evaluation run report on the UI dashboard.
result_counts: ResultCountsCounters summarizing the outcomes of the evaluation run.
status: StringThe status of the evaluation run.
Trait Implementations§
Source§impl Clone for RunRetrieveResponse
impl Clone for RunRetrieveResponse
Source§fn clone(&self) -> RunRetrieveResponse
fn clone(&self) -> RunRetrieveResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RunRetrieveResponse
impl Debug for RunRetrieveResponse
Source§impl<'de> Deserialize<'de> for RunRetrieveResponse
impl<'de> Deserialize<'de> for RunRetrieveResponse
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 RunRetrieveResponse
impl RefUnwindSafe for RunRetrieveResponse
impl Send for RunRetrieveResponse
impl Sync for RunRetrieveResponse
impl Unpin for RunRetrieveResponse
impl UnsafeUnpin for RunRetrieveResponse
impl UnwindSafe for RunRetrieveResponse
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