pub struct VectorStoreObject {
pub id: String,
pub object: String,
pub created_at: u32,
pub name: Option<String>,
pub usage_bytes: u64,
pub file_counts: VectorStoreFileCounts,
pub status: VectorStoreStatus,
pub expires_after: Option<VectorStoreExpirationAfter>,
pub expires_at: Option<u32>,
pub last_active_at: Option<u32>,
pub metadata: Option<HashMap<String, Value>>,
}
Expand description
A vector store is a collection of processed files can be used by the file_search
tool.
Fields§
§id: String
The identifier, which can be referenced in API endpoints.
object: String
The object type, which is always vector_store
.
created_at: u32
The Unix timestamp (in seconds) for when the vector store was created.
name: Option<String>
The name of the vector store.
usage_bytes: u64
The total number of bytes used by the files in the vector store.
file_counts: VectorStoreFileCounts
§status: VectorStoreStatus
The status of the vector store, which can be either expired
, in_progress
, or completed
. A status of completed
indicates that the vector store is ready for use.
expires_after: Option<VectorStoreExpirationAfter>
§expires_at: Option<u32>
The Unix timestamp (in seconds) for when the vector store will expire.
last_active_at: Option<u32>
The Unix timestamp (in seconds) for when the vector store was last active.
metadata: Option<HashMap<String, Value>>
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
Trait Implementations§
Source§impl Clone for VectorStoreObject
impl Clone for VectorStoreObject
Source§fn clone(&self) -> VectorStoreObject
fn clone(&self) -> VectorStoreObject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more