pub struct AssistantVectorStore {
pub file_ids: Vec<String>,
pub chunking_strategy: Option<AssistantVectorStoreChunkingStrategy>,
pub metadata: Option<HashMap<String, Value>>,
}
Fields§
§file_ids: Vec<String>
A list of file IDs to add to the vector store. There can be a maximum of 10000 files in a vector store.
chunking_strategy: Option<AssistantVectorStoreChunkingStrategy>
The chunking strategy used to chunk the file(s). If not set, will use the auto
strategy.
metadata: Option<HashMap<String, Value>>
Set of 16 key-value pairs that can be attached to a vector store. This can be useful for storing additional information about the vector store in a structured format. Keys can be a maximum of 64 characters long and values can be a maxium of 512 characters long.
Trait Implementations§
source§impl Clone for AssistantVectorStore
impl Clone for AssistantVectorStore
source§fn clone(&self) -> AssistantVectorStore
fn clone(&self) -> AssistantVectorStore
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 AssistantVectorStore
impl Debug for AssistantVectorStore
source§impl Default for AssistantVectorStore
impl Default for AssistantVectorStore
source§fn default() -> AssistantVectorStore
fn default() -> AssistantVectorStore
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AssistantVectorStore
impl<'de> Deserialize<'de> for AssistantVectorStore
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 AssistantVectorStore
impl PartialEq for AssistantVectorStore
source§impl Serialize for AssistantVectorStore
impl Serialize for AssistantVectorStore
impl StructuralPartialEq for AssistantVectorStore
Auto Trait Implementations§
impl Freeze for AssistantVectorStore
impl RefUnwindSafe for AssistantVectorStore
impl Send for AssistantVectorStore
impl Sync for AssistantVectorStore
impl Unpin for AssistantVectorStore
impl UnwindSafe for AssistantVectorStore
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
)