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