pub struct EvalRunOutputItem {
    pub id: String,
    pub run_id: String,
    pub eval_id: String,
    pub created_at: u64,
    pub status: String,
    pub datasource_item_id: u64,
    pub datasource_item: HashMap<String, Value>,
    pub results: Vec<HashMap<String, Value>>,
    pub sample: EvalRunOutputItemSample,
}Expand description
A schema representing an evaluation run output item.
Fields§
§id: StringUnique identifier for the evaluation run output item.
run_id: StringThe identifier of the evaluation run associated with this output item.
eval_id: StringThe identifier of the evaluation group.
created_at: u64Unix timestamp (in seconds) when the evaluation run was created.
status: StringThe status of the evaluation run.
datasource_item_id: u64The identifier for the data source item.
datasource_item: HashMap<String, Value>Details of the input data source item.
results: Vec<HashMap<String, Value>>A list of results from the evaluation run.
sample: EvalRunOutputItemSampleA sample containing the input and output of the evaluation run.
Implementations§
Source§impl EvalRunOutputItem
 
impl EvalRunOutputItem
Sourcepub fn builder() -> EvalRunOutputItemBuilder<((), (), (), (), (), (), (), (), ())>
 
pub fn builder() -> EvalRunOutputItemBuilder<((), (), (), (), (), (), (), (), ())>
Create a builder for building EvalRunOutputItem.
On the builder, call .id(...), .run_id(...), .eval_id(...), .created_at(...), .status(...), .datasource_item_id(...), .datasource_item(...), .results(...), .sample(...) to set the values of the fields.
Finally, call .build() to create the instance of EvalRunOutputItem.
Trait Implementations§
Source§impl Clone for EvalRunOutputItem
 
impl Clone for EvalRunOutputItem
Source§fn clone(&self) -> EvalRunOutputItem
 
fn clone(&self) -> EvalRunOutputItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more