pub struct VectorStoreFile {
pub id: String,
pub object: Option<String>,
pub vector_store_id: Option<String>,
pub created_at: Option<u64>,
pub size: Option<u64>,
pub status: Option<VectorStoreFileStatus>,
pub last_error: Option<VectorStoreFileError>,
pub chunking_strategy: Option<ChunkingStrategy>,
pub attributes: Option<Value>,
}Expand description
A file inside a vector store.
Fields§
§id: StringThe association ID, e.g. vsf_....
object: Option<String>The object type, always vector_store.file.
vector_store_id: Option<String>The ID of the vector store this file belongs to.
created_at: Option<u64>Unix timestamp (seconds) of when the file was added.
size: Option<u64>The size of the file in bytes.
status: Option<VectorStoreFileStatus>The processing status of the file.
last_error: Option<VectorStoreFileError>The last error of the file, when processing failed.
chunking_strategy: Option<ChunkingStrategy>The chunking strategy applied to the file.
attributes: Option<Value>The attributes attached to the file (filterable at search time), as raw JSON.
Trait Implementations§
Source§impl Clone for VectorStoreFile
impl Clone for VectorStoreFile
Source§fn clone(&self) -> VectorStoreFile
fn clone(&self) -> VectorStoreFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VectorStoreFile
impl Debug for VectorStoreFile
Source§impl<'de> Deserialize<'de> for VectorStoreFile
impl<'de> Deserialize<'de> for VectorStoreFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VectorStoreFile
impl RefUnwindSafe for VectorStoreFile
impl Send for VectorStoreFile
impl Sync for VectorStoreFile
impl Unpin for VectorStoreFile
impl UnsafeUnpin for VectorStoreFile
impl UnwindSafe for VectorStoreFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more