pub struct VectorStoreFileObject {
pub attributes: Option<VectorStoreFileAttributes>,
pub chunking_strategy: Option<Value>,
pub created_at: i32,
pub id: String,
pub last_error: VectorStoreFileObjectLastError,
pub object: String,
pub status: String,
pub usage_bytes: i32,
pub vector_store_id: String,
}
Fields§
§attributes: Option<VectorStoreFileAttributes>
§chunking_strategy: Option<Value>
The strategy used to chunk the file.
created_at: i32
The Unix timestamp (in seconds) for when the vector store file was created.
id: String
The identifier, which can be referenced in API endpoints.
last_error: VectorStoreFileObjectLastError
§object: String
The object type, which is always vector_store.file
.
status: String
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.
usage_bytes: i32
The total vector store usage in bytes. Note that this may be different from the original file size.
vector_store_id: String
The ID of the vector store that the File is attached to.
Trait Implementations§
Source§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
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