pub enum VectorStoreChunkingStrategy {
Auto,
Static {
config: 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
§
config: StaticChunkingStrategy
Trait Implementations§
Source§impl Clone for VectorStoreChunkingStrategy
impl Clone for VectorStoreChunkingStrategy
Source§fn clone(&self) -> VectorStoreChunkingStrategy
fn clone(&self) -> VectorStoreChunkingStrategy
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 Debug for VectorStoreChunkingStrategy
impl Debug for VectorStoreChunkingStrategy
Source§impl Default for VectorStoreChunkingStrategy
impl Default for VectorStoreChunkingStrategy
Source§fn default() -> VectorStoreChunkingStrategy
fn default() -> VectorStoreChunkingStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorStoreChunkingStrategy
impl<'de> Deserialize<'de> for VectorStoreChunkingStrategy
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
impl StructuralPartialEq for VectorStoreChunkingStrategy
Auto Trait Implementations§
impl Freeze for VectorStoreChunkingStrategy
impl RefUnwindSafe for VectorStoreChunkingStrategy
impl Send for VectorStoreChunkingStrategy
impl Sync for VectorStoreChunkingStrategy
impl Unpin for VectorStoreChunkingStrategy
impl UnwindSafe for VectorStoreChunkingStrategy
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