/*
* OpenAI API
*
* The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
*
* OpenAPI spec pub version: 2.3.0
*
* Generated pub by: https://github.com/swagger-api/swagger-codegen.git
*/
/// pub MessageDeltaContentTextAnnotationsFileCitationObject : A citation within the message that points to a specific quote from a specific File associated with the assistant or the message. Generated when the assistant uses the \"file_search\" tool to search files.
#[allow(unused_imports)]
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct MessageDeltaContentTextAnnotationsFileCitationObject {
#[serde(rename = "end_index")]
pub end_index: Option<i32>,
#[serde(rename = "file_citation")]
pub file_citation:
Option<crate::models::MessageDeltaContentTextAnnotationsFileCitationObjectFileCitation>,
/// The index of the annotation in the text content part.
#[serde(rename = "index")]
pub index: i32,
#[serde(rename = "start_index")]
pub start_index: Option<i32>,
/// The text in the message content that needs to be replaced.
#[serde(rename = "text")]
pub text: Option<String>,
/// Always `file_citation`.
#[serde(rename = "type")]
pub _type: String,
}