pub struct EnhancedQueryOptions {
pub session_id: String,
pub k: usize,
pub include_metadata: bool,
pub enable_hyde: Option<bool>,
pub override_strategy: Option<RetrievalStrategy>,
pub context: Option<HashMap<String, Value>>,
}Expand description
Options for enhanced query processing
Fields§
§session_id: String§k: usize§include_metadata: bool§enable_hyde: Option<bool>§override_strategy: Option<RetrievalStrategy>§context: Option<HashMap<String, Value>>Trait Implementations§
Source§impl Clone for EnhancedQueryOptions
impl Clone for EnhancedQueryOptions
Source§fn clone(&self) -> EnhancedQueryOptions
fn clone(&self) -> EnhancedQueryOptions
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 Debug for EnhancedQueryOptions
impl Debug for EnhancedQueryOptions
Source§impl Default for EnhancedQueryOptions
impl Default for EnhancedQueryOptions
Source§impl<'de> Deserialize<'de> for EnhancedQueryOptions
impl<'de> Deserialize<'de> for EnhancedQueryOptions
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 EnhancedQueryOptions
impl RefUnwindSafe for EnhancedQueryOptions
impl Send for EnhancedQueryOptions
impl Sync for EnhancedQueryOptions
impl Unpin for EnhancedQueryOptions
impl UnwindSafe for EnhancedQueryOptions
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