openai-lib 0.1.0

APIs for sampling from and fine-tuning language models
Documentation
/*
 * OpenAI API
 *
 * APIs for sampling from and fine-tuning language models
 *
 * The version of the OpenAPI document: 1.2.0
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct CreateAnswerResponseSelectedDocumentsInner {
    #[serde(rename = "document", skip_serializing_if = "Option::is_none")]
    pub document: Option<i32>,
    #[serde(rename = "text", skip_serializing_if = "Option::is_none")]
    pub text: Option<String>,
}

impl CreateAnswerResponseSelectedDocumentsInner {
    pub fn new() -> CreateAnswerResponseSelectedDocumentsInner {
        CreateAnswerResponseSelectedDocumentsInner {
            document: None,
            text: None,
        }
    }
}