openai-client-base 0.8.1

Auto-generated Rust client for the OpenAI API
/*
 * OpenAI API
 *
 * The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.
 *
 * The version of the OpenAPI document: 2.3.0
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// CreateEvalRequestDataSourceConfig : The configuration for the data source used for the evaluation runs. Dictates the schema of the data used in the evaluation.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum CreateEvalRequestDataSourceConfig {
    CreateEvalCustomDataSourceConfig(Box<models::CreateEvalCustomDataSourceConfig>),
    CreateEvalLogsDataSourceConfig(Box<models::CreateEvalLogsDataSourceConfig>),
    CreateEvalStoredCompletionsDataSourceConfig(
        Box<models::CreateEvalStoredCompletionsDataSourceConfig>,
    ),
}