openai_struct/models/
create_vector_store_file_request.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 CreateVectorStoreFileRequest {
16    #[serde(rename = "attributes")]
17    pub attributes: Option<crate::models::VectorStoreFileAttributes>,
18    #[serde(rename = "chunking_strategy")]
19    pub chunking_strategy: Option<crate::models::ChunkingStrategyRequestParam>,
20    /// A [File](/docs/api-reference/files) ID that the vector store should use. Useful for tools like `file_search` that can access files.
21    #[serde(rename = "file_id")]
22    pub file_id: String,
23}