pub struct IndividualMemory { /* private fields */ }Expand description
Individual memory system managing Tier 1-4
Implementations§
Source§impl IndividualMemory
impl IndividualMemory
pub async fn new() -> Result<Self, MemoryError>
pub async fn store(&self, memory: Memory) -> Result<String, MemoryError>
pub async fn recall( &self, query: &Query, tiers: &[MemoryTier], ) -> Result<Vec<Memory>, MemoryError>
pub async fn stats(&self) -> IndividualMemoryStats
Auto Trait Implementations§
impl Freeze for IndividualMemory
impl !RefUnwindSafe for IndividualMemory
impl Send for IndividualMemory
impl Sync for IndividualMemory
impl Unpin for IndividualMemory
impl !UnwindSafe for IndividualMemory
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