pub enum VectorStoreFileChunkingStrategy {
Static {
configuration: VectorStoreStaticFileChunkingStrategy,
},
Other,
Unknown,
}Expand description
表示文件分块策略。
Variants§
Static
静态分块。
Fields
§
configuration: VectorStoreStaticFileChunkingStrategy静态分块配置。
Other
旧文件或未知策略返回的 other 类型。
Unknown
向前兼容的未知策略。
Trait Implementations§
Source§impl Clone for VectorStoreFileChunkingStrategy
impl Clone for VectorStoreFileChunkingStrategy
Source§fn clone(&self) -> VectorStoreFileChunkingStrategy
fn clone(&self) -> VectorStoreFileChunkingStrategy
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 VectorStoreFileChunkingStrategy
impl<'de> Deserialize<'de> for VectorStoreFileChunkingStrategy
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 VectorStoreFileChunkingStrategy
impl RefUnwindSafe for VectorStoreFileChunkingStrategy
impl Send for VectorStoreFileChunkingStrategy
impl Sync for VectorStoreFileChunkingStrategy
impl Unpin for VectorStoreFileChunkingStrategy
impl UnsafeUnpin for VectorStoreFileChunkingStrategy
impl UnwindSafe for VectorStoreFileChunkingStrategy
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