openai_struct/models/create_message_request_attachments.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#[allow(unused_imports)]
12use serde_json::Value;
13
14#[derive(Debug, Serialize, Deserialize)]
15pub struct CreateMessageRequestAttachments {
16 /// The ID of the file to attach to the message.
17 #[serde(rename = "file_id")]
18 pub file_id: Option<String>,
19 /// The tools to add this file to.
20 #[serde(rename = "tools")]
21 pub tools: Option<Vec<Value>>,
22}