openai_struct/models/
message_delta_content_text_annotations_file_path_object.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11/// pub MessageDeltaContentTextAnnotationsFilePathObject : A URL for the file that's generated when the assistant used the `code_interpreter` tool to generate a file.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct MessageDeltaContentTextAnnotationsFilePathObject {
18    #[serde(rename = "end_index")]
19    pub end_index: Option<i32>,
20    #[serde(rename = "file_path")]
21    pub file_path: Option<crate::models::MessageDeltaContentTextAnnotationsFilePathObjectFilePath>,
22    /// The index of the annotation in the text content part.
23    #[serde(rename = "index")]
24    pub index: i32,
25    #[serde(rename = "start_index")]
26    pub start_index: Option<i32>,
27    /// The text in the message content that needs to be replaced.
28    #[serde(rename = "text")]
29    pub text: Option<String>,
30    /// Always `file_path`.
31    #[serde(rename = "type")]
32    pub _type: String,
33}