pub struct ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic {
pub chunk_overlap_tokens: i64,
pub max_chunk_size_tokens: i64,
}Fields§
§chunk_overlap_tokens: i64The number of tokens that overlap between chunks. The default value is 400.
max_chunk_size_tokens: i64The maximum number of tokens in each chunk.
Trait Implementations§
Source§impl Clone for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl Clone for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
Source§fn clone(
&self,
) -> ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
fn clone( &self, ) -> ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl<'de> Deserialize<'de> for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
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
Auto Trait Implementations§
impl Freeze for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl RefUnwindSafe for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl Send for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl Sync for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl Unpin for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl UnsafeUnpin for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
impl UnwindSafe for ToolResourcesFileSearchVectorStoreChunkingStrategyStaticStatic
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