pub enum CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy {
Auto(CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategyAuto),
Static(CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategyStatic),
}
Expand description
The chunking strategy used to chunk the file(s). If not set, will use the auto
strategy.
Variants§
Auto(CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategyAuto)
The default strategy. This strategy currently uses a max_chunk_size_tokens
of 800
and chunk_overlap_tokens
of 400
.
Static(CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategyStatic)
Trait Implementations§
Source§impl Clone for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl Clone for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
Source§fn clone(
&self,
) -> CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
fn clone( &self, ) -> CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
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 CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl<'de> Deserialize<'de> for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
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 CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl PartialEq for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
Source§fn eq(
&self,
other: &CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy,
) -> bool
fn eq( &self, other: &CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl StructuralPartialEq for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
Auto Trait Implementations§
impl Freeze for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl RefUnwindSafe for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl Send for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl Sync for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl Unpin for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
impl UnwindSafe for CreateThreadRequestToolResourcesFileSearch1VectorStoreChunkingStrategy
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