pub struct EvalRunOutputItem {
pub id: String,
pub run_id: String,
pub eval_id: String,
pub created_at: i64,
pub status: String,
pub datasource_item_id: i64,
pub datasource_item: IndexMap<String, Value>,
pub results: Vec<IndexMap<String, Value>>,
pub sample: Sample,
}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: i64Unix timestamp (in seconds) when the evaluation run was created.
status: StringThe status of the evaluation run.
datasource_item_id: i64The identifier for the data source item.
datasource_item: IndexMap<String, Value>Details of the input data source item.
results: Vec<IndexMap<String, Value>>A list of results from the evaluation run.
sample: SampleA 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