pub enum RecallStrategy {
Balanced,
Semantic,
Lexical,
Recent,
Relational,
}Expand description
How recall should weight its retrieval signals.
Variants§
Balanced
Even blend of semantic and lexical signals with mild recency.
Semantic
Meaning-first: lean on the vector index.
Lexical
Exact-term-first: lean on BM25.
Recent
Recency-first: what happened lately matters most.
Relational
Relation-first: follow entity links — “things connected to X”, not just “things similar to X”.
Implementations§
Trait Implementations§
Source§impl Clone for RecallStrategy
impl Clone for RecallStrategy
Source§fn clone(&self) -> RecallStrategy
fn clone(&self) -> RecallStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecallStrategy
Source§impl Debug for RecallStrategy
impl Debug for RecallStrategy
Source§impl Default for RecallStrategy
impl Default for RecallStrategy
Source§fn default() -> RecallStrategy
fn default() -> RecallStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecallStrategy
impl<'de> Deserialize<'de> for RecallStrategy
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
impl Eq for RecallStrategy
Source§impl PartialEq for RecallStrategy
impl PartialEq for RecallStrategy
Source§impl Serialize for RecallStrategy
impl Serialize for RecallStrategy
impl StructuralPartialEq for RecallStrategy
Auto Trait Implementations§
impl Freeze for RecallStrategy
impl RefUnwindSafe for RecallStrategy
impl Send for RecallStrategy
impl Sync for RecallStrategy
impl Unpin for RecallStrategy
impl UnsafeUnpin for RecallStrategy
impl UnwindSafe for RecallStrategy
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