openai_struct/models/eval_custom_data_source_config.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 EvalCustomDataSourceConfig : A CustomDataSourceConfig which specifies the schema of your `item` and optionally `sample` namespaces. The response schema defines the shape of the data that will be: - Used to define your testing criteria and - What data is required when creating a run
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16// #[derive(Debug, Serialize, Deserialize)]
17// pub struct EvalCustomDataSourceConfig {
18// /// The json schema for the run data source items. Learn how to build JSON schemas [here](pub https://json-schema.org/).
19// #[serde(rename = "schema")]
20// pub schema: ::std::collections::HashMap<String, pub crate::models::Object>,
21// /// The type of data source. Always `custom`.
22// #[serde(rename = "type")]
23// pub _type: String
24// }