pub struct AdvancedRerankingConfig {
pub enable_cross_encoder: bool,
pub enable_ltr: bool,
pub enable_multi_signal: bool,
pub enable_neural: bool,
pub max_candidates: usize,
pub score_threshold: f32,
pub strategy_order: Vec<RerankingStrategyType>,
pub score_combination: ScoreCombination,
pub enable_caching: bool,
pub batch_size: usize,
}Expand description
Configuration for advanced reranking
Fields§
§enable_cross_encoder: boolEnable cross-encoder reranking
enable_ltr: boolEnable learning-to-rank
enable_multi_signal: boolEnable multi-signal reranking
enable_neural: boolEnable neural reranking
max_candidates: usizeMaximum number of candidates to rerank
score_threshold: f32Minimum score threshold
strategy_order: Vec<RerankingStrategyType>Reranking strategy priority order
score_combination: ScoreCombinationScore combination method
enable_caching: boolCache reranking results
batch_size: usizeBatch size for neural models
Trait Implementations§
Source§impl Clone for AdvancedRerankingConfig
impl Clone for AdvancedRerankingConfig
Source§fn clone(&self) -> AdvancedRerankingConfig
fn clone(&self) -> AdvancedRerankingConfig
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 AdvancedRerankingConfig
impl Debug for AdvancedRerankingConfig
Auto Trait Implementations§
impl Freeze for AdvancedRerankingConfig
impl RefUnwindSafe for AdvancedRerankingConfig
impl Send for AdvancedRerankingConfig
impl Sync for AdvancedRerankingConfig
impl Unpin for AdvancedRerankingConfig
impl UnwindSafe for AdvancedRerankingConfig
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