pub enum MemoryRoute {
Keyword,
Semantic,
Hybrid,
Graph,
Episodic,
}Expand description
Classification of which memory backend(s) to query.
Variants§
Keyword
Full-text search only (SQLite FTS5). Fast, good for keyword/exact queries.
Semantic
Vector search only (Qdrant). Good for semantic/conceptual queries.
Hybrid
Both backends, results merged by reciprocal rank fusion.
Graph
Graph-based retrieval via BFS traversal.
Episodic
FTS5 search with a timestamp-range filter. Used for temporal/episodic queries.
Trait Implementations§
Source§impl Clone for MemoryRoute
impl Clone for MemoryRoute
Source§fn clone(&self) -> MemoryRoute
fn clone(&self) -> MemoryRoute
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 moreSource§impl Debug for MemoryRoute
impl Debug for MemoryRoute
Source§impl PartialEq for MemoryRoute
impl PartialEq for MemoryRoute
Source§fn eq(&self, other: &MemoryRoute) -> bool
fn eq(&self, other: &MemoryRoute) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MemoryRoute
impl Eq for MemoryRoute
impl StructuralPartialEq for MemoryRoute
Auto Trait Implementations§
impl Freeze for MemoryRoute
impl RefUnwindSafe for MemoryRoute
impl Send for MemoryRoute
impl Sync for MemoryRoute
impl Unpin for MemoryRoute
impl UnsafeUnpin for MemoryRoute
impl UnwindSafe for MemoryRoute
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