openai_struct/models/vector_store_file_batch_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 VectorStoreFileBatchObject : A batch of files attached to a vector store.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct VectorStoreFileBatchObject {
18 /// The Unix timestamp (in seconds) for when the vector store files batch was created.
19 #[serde(rename = "created_at")]
20 pub created_at: i32,
21 #[serde(rename = "file_counts")]
22 pub file_counts: crate::models::VectorStoreFileBatchObjectFileCounts,
23 /// The identifier, which can be referenced in API endpoints.
24 #[serde(rename = "id")]
25 pub id: String,
26 /// The object type, which is always `vector_store.file_batch`.
27 #[serde(rename = "object")]
28 pub object: String,
29 /// The status of the vector store files batch, which can be either `in_progress`, `completed`, `cancelled` or `failed`.
30 #[serde(rename = "status")]
31 pub status: String,
32 /// The ID of the [vector store](/docs/api-reference/vector-stores/object) that the [File](/docs/api-reference/files) is attached to.
33 #[serde(rename = "vector_store_id")]
34 pub vector_store_id: String,
35}