pub struct ScoringParams {Show 30 fields
pub rrf_k: f64,
pub rrf_weight_vec: f64,
pub rrf_weight_fts: f64,
pub abstention_min_text: f64,
pub graph_neighbor_factor: f64,
pub graph_min_edge_weight: f64,
pub word_overlap_weight: f64,
pub query_coverage_weight: f64,
pub jaccard_weight: f64,
pub importance_floor: f64,
pub importance_scale: f64,
pub context_tag_weight: f64,
pub time_decay_days: f64,
pub priority_base: f64,
pub priority_scale: f64,
pub feedback_heavy_suppress: f64,
pub feedback_strong_suppress: f64,
pub feedback_positive_scale: f64,
pub feedback_positive_cap: f64,
pub feedback_heavy_threshold: i64,
pub neighbor_word_overlap_weight: f64,
pub neighbor_importance_floor: f64,
pub neighbor_importance_scale: f64,
pub graph_seed_min: usize,
pub graph_seed_max: usize,
pub dual_match_boost: f64,
pub rerank_top_n: usize,
pub rerank_blend_alpha: f64,
pub preceded_by_boost: f64,
pub entity_relation_boost: f64,
}Fields§
§rrf_k: f64§rrf_weight_vec: f64§rrf_weight_fts: f64§abstention_min_text: f64§graph_neighbor_factor: f64§graph_min_edge_weight: f64§word_overlap_weight: f64§query_coverage_weight: f64§jaccard_weight: f64§importance_floor: f64§importance_scale: f64§context_tag_weight: f64§time_decay_days: f64§priority_base: f64§priority_scale: f64§feedback_heavy_suppress: f64§feedback_strong_suppress: f64§feedback_positive_scale: f64§feedback_positive_cap: f64§feedback_heavy_threshold: i64§neighbor_word_overlap_weight: f64§neighbor_importance_floor: f64§neighbor_importance_scale: f64§graph_seed_min: usize§graph_seed_max: usize§dual_match_boost: f64Fallback multiplier for candidates appearing in both vector and FTS result lists during RRF fusion. The pipeline now uses an adaptive boost (1.3x – 1.8x) scaled by FTS rank, so this value is only used as a fallback when the adaptive path cannot determine rank. Default 1.5 (midpoint of the adaptive range).
rerank_top_n: usizeNumber of top candidates to rerank with the cross-encoder (default 30).
rerank_blend_alpha: f64Blend weight: alpha * rrf_score + (1 - alpha) * cross_encoder_score.
Default 0.5 (equal weight).
preceded_by_boost: f64Multiplicative boost for PRECEDED_BY graph edges (temporal adjacency). Default 1.5 — adjacent conversation turns get 50% more weight.
entity_relation_boost: f64Multiplicative boost for entity-related graph edges (RELATES_TO, SIMILAR_TO, etc.). Default 1.3 — entity-connected memories get 30% more weight.
Trait Implementations§
Source§impl Clone for ScoringParams
impl Clone for ScoringParams
Source§fn clone(&self) -> ScoringParams
fn clone(&self) -> ScoringParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ScoringParams
impl Debug for ScoringParams
Source§impl Default for ScoringParams
impl Default for ScoringParams
Auto Trait Implementations§
impl Freeze for ScoringParams
impl RefUnwindSafe for ScoringParams
impl Send for ScoringParams
impl Sync for ScoringParams
impl Unpin for ScoringParams
impl UnsafeUnpin for ScoringParams
impl UnwindSafe for ScoringParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more