pub enum AssistantVectorStoreChunkingStrategy {
Auto,
Static(StaticChunkingStrategy),
}
Variants§
Auto
The default strategy. This strategy currently uses a max_chunk_size_tokens
of 800
and chunk_overlap_tokens
of 400
.
Static(StaticChunkingStrategy)
Trait Implementations§
source§impl Clone for AssistantVectorStoreChunkingStrategy
impl Clone for AssistantVectorStoreChunkingStrategy
source§fn clone(&self) -> AssistantVectorStoreChunkingStrategy
fn clone(&self) -> AssistantVectorStoreChunkingStrategy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AssistantVectorStoreChunkingStrategy
impl Default for AssistantVectorStoreChunkingStrategy
source§fn default() -> AssistantVectorStoreChunkingStrategy
fn default() -> AssistantVectorStoreChunkingStrategy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AssistantVectorStoreChunkingStrategy
impl<'de> Deserialize<'de> for AssistantVectorStoreChunkingStrategy
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 AssistantVectorStoreChunkingStrategy
impl PartialEq for AssistantVectorStoreChunkingStrategy
source§fn eq(&self, other: &AssistantVectorStoreChunkingStrategy) -> bool
fn eq(&self, other: &AssistantVectorStoreChunkingStrategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssistantVectorStoreChunkingStrategy
Auto Trait Implementations§
impl Freeze for AssistantVectorStoreChunkingStrategy
impl RefUnwindSafe for AssistantVectorStoreChunkingStrategy
impl Send for AssistantVectorStoreChunkingStrategy
impl Sync for AssistantVectorStoreChunkingStrategy
impl Unpin for AssistantVectorStoreChunkingStrategy
impl UnwindSafe for AssistantVectorStoreChunkingStrategy
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)