/*
* 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};
/// BetaAnnotation : An annotation that applies to a span of output text.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
#[serde(untagged)]
pub enum BetaAnnotation {
BetaFileCitationBody(Box<models::BetaFileCitationBody>),
BetaUrlCitationBody(Box<models::BetaUrlCitationBody>),
BetaContainerFileCitationBody(Box<models::BetaContainerFileCitationBody>),
BetaFilePath(Box<models::BetaFilePath>),
}
impl Default for BetaAnnotation {
fn default() -> Self {
Self::BetaFileCitationBody(Default::default())
}
}