pub enum CreateVectorStoreRequestChunkingStrategy {
Auto(AutoChunkingStrategyRequestParam),
Static(StaticChunkingStrategyRequestParam),
}
Expand description
The chunking strategy used to chunk the file(s). If not set, will use the auto
strategy. Only applicable if file_ids
is non-empty.
Variants§
Trait Implementations§
Source§impl Clone for CreateVectorStoreRequestChunkingStrategy
impl Clone for CreateVectorStoreRequestChunkingStrategy
Source§fn clone(&self) -> CreateVectorStoreRequestChunkingStrategy
fn clone(&self) -> CreateVectorStoreRequestChunkingStrategy
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<'de> Deserialize<'de> for CreateVectorStoreRequestChunkingStrategy
impl<'de> Deserialize<'de> for CreateVectorStoreRequestChunkingStrategy
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 CreateVectorStoreRequestChunkingStrategy
impl PartialEq for CreateVectorStoreRequestChunkingStrategy
Source§fn eq(&self, other: &CreateVectorStoreRequestChunkingStrategy) -> bool
fn eq(&self, other: &CreateVectorStoreRequestChunkingStrategy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CreateVectorStoreRequestChunkingStrategy
impl StructuralPartialEq for CreateVectorStoreRequestChunkingStrategy
Auto Trait Implementations§
impl Freeze for CreateVectorStoreRequestChunkingStrategy
impl RefUnwindSafe for CreateVectorStoreRequestChunkingStrategy
impl Send for CreateVectorStoreRequestChunkingStrategy
impl Sync for CreateVectorStoreRequestChunkingStrategy
impl Unpin for CreateVectorStoreRequestChunkingStrategy
impl UnwindSafe for CreateVectorStoreRequestChunkingStrategy
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