pub struct ProactiveRecall {
pub limit: usize,
pub threshold: f32,
}Expand description
Proactive recall engine.
Combines ROOT index triage, manifest-based selection, and HNSW semantic search to find relevant memories for the current context.
Fields§
§limit: usizeMaximum results to return.
threshold: f32Minimum effective importance threshold.
Implementations§
Source§impl ProactiveRecall
impl ProactiveRecall
Sourcepub async fn recall(
&self,
mgr: &MemoryManager,
query: &str,
current_context: &[MemoryEntry],
) -> Result<Vec<MemoryEntry>>
pub async fn recall( &self, mgr: &MemoryManager, query: &str, current_context: &[MemoryEntry], ) -> Result<Vec<MemoryEntry>>
Execute 3-step proactive recall.
Auto Trait Implementations§
impl Freeze for ProactiveRecall
impl RefUnwindSafe for ProactiveRecall
impl Send for ProactiveRecall
impl Sync for ProactiveRecall
impl Unpin for ProactiveRecall
impl UnsafeUnpin for ProactiveRecall
impl UnwindSafe for ProactiveRecall
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