pub struct RunCreateResponse {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 RunCreateResponse
impl Clone for RunCreateResponse
Source§fn clone(&self) -> RunCreateResponse
fn clone(&self) -> RunCreateResponse
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 RunCreateResponse
impl Debug for RunCreateResponse
Source§impl<'de> Deserialize<'de> for RunCreateResponse
impl<'de> Deserialize<'de> for RunCreateResponse
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 RunCreateResponse
impl RefUnwindSafe for RunCreateResponse
impl Send for RunCreateResponse
impl Sync for RunCreateResponse
impl Unpin for RunCreateResponse
impl UnsafeUnpin for RunCreateResponse
impl UnwindSafe for RunCreateResponse
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