pub struct RetrievalConfig {
pub max_results_per_modality: usize,
pub max_total_results: usize,
pub similarity_thresholds: ModalitySimilarityThresholds,
pub enable_cross_modal: bool,
pub fusion_strategy: ResultFusionStrategy,
pub scoring_weights: ScoringWeights,
}Expand description
Multi-modal retrieval configuration
Fields§
§max_results_per_modality: usizeMaximum results per modality
max_total_results: usizeOverall maximum results
similarity_thresholds: ModalitySimilarityThresholdsSimilarity thresholds by modality
enable_cross_modal: boolEnable cross-modal matching
fusion_strategy: ResultFusionStrategyFusion strategy
scoring_weights: ScoringWeightsScoring weights
Trait Implementations§
Source§impl Clone for RetrievalConfig
impl Clone for RetrievalConfig
Source§fn clone(&self) -> RetrievalConfig
fn clone(&self) -> RetrievalConfig
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 RetrievalConfig
impl Debug for RetrievalConfig
Auto Trait Implementations§
impl Freeze for RetrievalConfig
impl RefUnwindSafe for RetrievalConfig
impl Send for RetrievalConfig
impl Sync for RetrievalConfig
impl Unpin for RetrievalConfig
impl UnwindSafe for RetrievalConfig
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