pub struct PipelineConfig {
pub enable_hyde: bool,
pub enable_query_understanding: bool,
pub enable_ml_prediction: bool,
pub max_candidates: usize,
pub rerank_enabled: bool,
pub rerank_top_k: usize,
pub timeout_seconds: u64,
}Expand description
Configuration for the enhanced query pipeline
Fields§
§enable_hyde: bool§enable_query_understanding: bool§enable_ml_prediction: bool§max_candidates: usize§rerank_enabled: bool§rerank_top_k: usize§timeout_seconds: u64Trait Implementations§
Source§impl Clone for PipelineConfig
impl Clone for PipelineConfig
Source§fn clone(&self) -> PipelineConfig
fn clone(&self) -> PipelineConfig
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 PipelineConfig
impl Debug for PipelineConfig
Source§impl Default for PipelineConfig
impl Default for PipelineConfig
Source§impl<'de> Deserialize<'de> for PipelineConfig
impl<'de> Deserialize<'de> for PipelineConfig
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 PipelineConfig
impl RefUnwindSafe for PipelineConfig
impl Send for PipelineConfig
impl Sync for PipelineConfig
impl Unpin for PipelineConfig
impl UnwindSafe for PipelineConfig
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