pub struct EnhancedQueryResult {
pub candidates: Vec<Candidate>,
pub context_pack: ContextPack,
pub query_understanding: Option<QueryUnderstanding>,
pub ml_prediction: Option<MLPredictionResult>,
pub hyde_expansion: Option<HydeExpansion>,
pub strategy_used: RetrievalStrategy,
pub processing_time_ms: u64,
pub total_candidates_found: usize,
}Expand description
Result of enhanced query processing
Fields§
§candidates: Vec<Candidate>§context_pack: ContextPack§query_understanding: Option<QueryUnderstanding>§ml_prediction: Option<MLPredictionResult>§hyde_expansion: Option<HydeExpansion>§strategy_used: RetrievalStrategy§processing_time_ms: u64§total_candidates_found: usizeTrait Implementations§
Source§impl Clone for EnhancedQueryResult
impl Clone for EnhancedQueryResult
Source§fn clone(&self) -> EnhancedQueryResult
fn clone(&self) -> EnhancedQueryResult
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 EnhancedQueryResult
impl Debug for EnhancedQueryResult
Source§impl<'de> Deserialize<'de> for EnhancedQueryResult
impl<'de> Deserialize<'de> for EnhancedQueryResult
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 EnhancedQueryResult
impl RefUnwindSafe for EnhancedQueryResult
impl Send for EnhancedQueryResult
impl Sync for EnhancedQueryResult
impl Unpin for EnhancedQueryResult
impl UnwindSafe for EnhancedQueryResult
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