pub struct CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto {}
Expand description
The default strategy. This strategy currently uses a max_chunk_size_tokens
of 800
and chunk_overlap_tokens
of 400
.
Implementations§
Source§impl CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
Sourcepub fn builder() -> CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAutoBuilder<()>
pub fn builder() -> CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAutoBuilder<()>
Create a builder for building CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
.
On the builder, call to set the values of the fields.
Finally, call .build()
to create the instance of CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
.
Trait Implementations§
Source§impl Clone for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl Clone for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
Source§fn clone(
&self,
) -> CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
fn clone( &self, ) -> CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl Default for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
Source§fn default() -> CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
fn default() -> CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl<'de> Deserialize<'de> for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
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 CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl PartialEq for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
Source§fn eq(
&self,
other: &CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto,
) -> bool
fn eq( &self, other: &CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl Serialize for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl Copy for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl StructuralPartialEq for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
Auto Trait Implementations§
impl Freeze for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl RefUnwindSafe for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl Send for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl Sync for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl Unpin for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
impl UnwindSafe for CreateThreadRequestToolResourcesFileSearch0VectorStoreChunkingStrategyAuto
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