pub struct VectorStoreFileObject {
pub id: String,
pub object: String,
pub usage_bytes: u64,
pub created_at: u32,
pub vector_store_id: String,
pub status: VectorStoreFileStatus,
pub last_error: Option<VectorStoreFileError>,
pub chunking_strategy: Option<VectorStoreFileObjectChunkingStrategy>,
}
Fields§
§id: String
The identifier, which can be referenced in API endpoints.
object: String
The object type, which is always vector_store.file
.
usage_bytes: u64
The total vector store usage in bytes. Note that this may be different from the original file size.
created_at: u32
The Unix timestamp (in seconds) for when the vector store file was created.
vector_store_id: String
The ID of the vector store that the File is attached to.
status: VectorStoreFileStatus
The status of the vector store file, which can be either in_progress
, completed
, cancelled
, or failed
. The status completed
indicates that the vector store file is ready for use.
last_error: Option<VectorStoreFileError>
The last error associated with this vector store file. Will be null
if there are no errors.
chunking_strategy: Option<VectorStoreFileObjectChunkingStrategy>
The strategy used to chunk the file.
Trait Implementations§
source§impl Clone for VectorStoreFileObject
impl Clone for VectorStoreFileObject
source§fn clone(&self) -> VectorStoreFileObject
fn clone(&self) -> VectorStoreFileObject
Returns a copy of the value. Read more
1.6.0 · 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 VectorStoreFileObject
impl Debug for VectorStoreFileObject
source§impl<'de> Deserialize<'de> for VectorStoreFileObject
impl<'de> Deserialize<'de> for VectorStoreFileObject
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
source§impl PartialEq for VectorStoreFileObject
impl PartialEq for VectorStoreFileObject
source§impl Serialize for VectorStoreFileObject
impl Serialize for VectorStoreFileObject
impl StructuralPartialEq for VectorStoreFileObject
Auto Trait Implementations§
impl Freeze for VectorStoreFileObject
impl RefUnwindSafe for VectorStoreFileObject
impl Send for VectorStoreFileObject
impl Sync for VectorStoreFileObject
impl Unpin for VectorStoreFileObject
impl UnwindSafe for VectorStoreFileObject
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)