pub struct DesktopRuntimeVectorSearchSettings {
pub enabled: bool,
pub provider: DesktopVectorSearchProvider,
pub model: String,
pub endpoint: String,
pub granularity: DesktopVectorSearchGranularity,
pub chunking_mode: DesktopVectorChunkingMode,
pub chunk_size_lines: u16,
pub chunk_overlap_lines: u16,
pub top_k_chunks: u16,
pub top_k_sessions: u16,
}Fields§
§enabled: bool§provider: DesktopVectorSearchProvider§model: String§endpoint: String§granularity: DesktopVectorSearchGranularity§chunking_mode: DesktopVectorChunkingMode§chunk_size_lines: u16§chunk_overlap_lines: u16§top_k_chunks: u16§top_k_sessions: u16Trait Implementations§
Source§impl Clone for DesktopRuntimeVectorSearchSettings
impl Clone for DesktopRuntimeVectorSearchSettings
Source§fn clone(&self) -> DesktopRuntimeVectorSearchSettings
fn clone(&self) -> DesktopRuntimeVectorSearchSettings
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 DesktopRuntimeVectorSearchSettings
impl<'de> Deserialize<'de> for DesktopRuntimeVectorSearchSettings
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 DesktopRuntimeVectorSearchSettings
impl RefUnwindSafe for DesktopRuntimeVectorSearchSettings
impl Send for DesktopRuntimeVectorSearchSettings
impl Sync for DesktopRuntimeVectorSearchSettings
impl Unpin for DesktopRuntimeVectorSearchSettings
impl UnsafeUnpin for DesktopRuntimeVectorSearchSettings
impl UnwindSafe for DesktopRuntimeVectorSearchSettings
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