pub struct AutoChunkingStrategyRequestParam {}
Expand description
The default strategy. This strategy currently uses a max_chunk_size_tokens
of 800
and chunk_overlap_tokens
of 400
.
Implementations§
Trait Implementations§
Source§impl Clone for AutoChunkingStrategyRequestParam
impl Clone for AutoChunkingStrategyRequestParam
Source§fn clone(&self) -> AutoChunkingStrategyRequestParam
fn clone(&self) -> AutoChunkingStrategyRequestParam
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 AutoChunkingStrategyRequestParam
impl Default for AutoChunkingStrategyRequestParam
Source§fn default() -> AutoChunkingStrategyRequestParam
fn default() -> AutoChunkingStrategyRequestParam
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoChunkingStrategyRequestParam
impl<'de> Deserialize<'de> for AutoChunkingStrategyRequestParam
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 AutoChunkingStrategyRequestParam
impl PartialEq for AutoChunkingStrategyRequestParam
Source§fn eq(&self, other: &AutoChunkingStrategyRequestParam) -> bool
fn eq(&self, other: &AutoChunkingStrategyRequestParam) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for AutoChunkingStrategyRequestParam
impl StructuralPartialEq for AutoChunkingStrategyRequestParam
Auto Trait Implementations§
impl Freeze for AutoChunkingStrategyRequestParam
impl RefUnwindSafe for AutoChunkingStrategyRequestParam
impl Send for AutoChunkingStrategyRequestParam
impl Sync for AutoChunkingStrategyRequestParam
impl Unpin for AutoChunkingStrategyRequestParam
impl UnwindSafe for AutoChunkingStrategyRequestParam
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