openai_struct/models/eval_run_result_counts.rs
1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11/// pub EvalRunResultCounts : Counters summarizing the outcomes of the evaluation run.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct EvalRunResultCounts {
18 /// Number of output items that resulted in an error.
19 #[serde(rename = "errored")]
20 pub errored: i32,
21 /// Number of output items that failed to pass the evaluation.
22 #[serde(rename = "failed")]
23 pub failed: i32,
24 /// Number of output items that passed the evaluation.
25 #[serde(rename = "passed")]
26 pub passed: i32,
27 /// Total number of executed output items.
28 #[serde(rename = "total")]
29 pub total: i32,
30}