pub enum RoutingMode {
Auto,
Vector,
Bm25,
Hybrid,
}Expand description
CE-12: Routing mode for smart query dispatch.
Controls which retrieval backend(s) are used when recalling or searching memories.
Variants§
Auto
Automatically select the best backend based on query characteristics (default).
Vector
Force pure vector-similarity search (always embeds the query).
Bm25
Force pure BM25 full-text search (no embedding inference).
Hybrid
Force hybrid search: combine vector + BM25 with adaptive weighting.
Trait Implementations§
Source§impl Clone for RoutingMode
impl Clone for RoutingMode
Source§fn clone(&self) -> RoutingMode
fn clone(&self) -> RoutingMode
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 RoutingMode
impl Debug for RoutingMode
Source§impl Default for RoutingMode
impl Default for RoutingMode
Source§fn default() -> RoutingMode
fn default() -> RoutingMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RoutingMode
impl<'de> Deserialize<'de> for RoutingMode
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
Source§impl PartialEq for RoutingMode
impl PartialEq for RoutingMode
Source§impl Serialize for RoutingMode
impl Serialize for RoutingMode
impl Copy for RoutingMode
impl Eq for RoutingMode
impl StructuralPartialEq for RoutingMode
Auto Trait Implementations§
impl Freeze for RoutingMode
impl RefUnwindSafe for RoutingMode
impl Send for RoutingMode
impl Sync for RoutingMode
impl Unpin for RoutingMode
impl UnsafeUnpin for RoutingMode
impl UnwindSafe for RoutingMode
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