pub enum AssistantVectorStoreChunkingStrategy {
Auto,
Static {
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
Fields
§
static: StaticChunkingStrategy
Trait Implementations§
Source§impl Clone for AssistantVectorStoreChunkingStrategy
impl Clone for AssistantVectorStoreChunkingStrategy
Source§fn clone(&self) -> AssistantVectorStoreChunkingStrategy
fn clone(&self) -> AssistantVectorStoreChunkingStrategy
Returns a duplicate 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
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