pub struct QueryUnderstandingConfig {
pub rewrite_enabled: bool,
pub decompose_enabled: bool,
pub max_subqueries: i32,
pub llm_model: String,
pub temperature: f64,
}Expand description
Query understanding configuration
Fields§
§rewrite_enabled: bool§decompose_enabled: bool§max_subqueries: i32§llm_model: String§temperature: f64Trait Implementations§
Source§impl Clone for QueryUnderstandingConfig
impl Clone for QueryUnderstandingConfig
Source§fn clone(&self) -> QueryUnderstandingConfig
fn clone(&self) -> QueryUnderstandingConfig
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 QueryUnderstandingConfig
impl Debug for QueryUnderstandingConfig
Source§impl Default for QueryUnderstandingConfig
impl Default for QueryUnderstandingConfig
Source§impl<'de> Deserialize<'de> for QueryUnderstandingConfig
impl<'de> Deserialize<'de> for QueryUnderstandingConfig
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 QueryUnderstandingConfig
impl RefUnwindSafe for QueryUnderstandingConfig
impl Send for QueryUnderstandingConfig
impl Sync for QueryUnderstandingConfig
impl Unpin for QueryUnderstandingConfig
impl UnwindSafe for QueryUnderstandingConfig
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