Get a single memory by its ID.
(&self, memory_id: &MemoryId)
| 144 | |
| 145 | /// Get a single memory by its ID. |
| 146 | pub async fn get(&self, memory_id: &MemoryId) -> GraphBitResult<Option<Memory>> { |
| 147 | self.store.get_memory(memory_id).await |
| 148 | } |
| 149 | |
| 150 | /// Get all memories matching a scope. |
| 151 | pub async fn get_all(&self, scope: &MemoryScope) -> GraphBitResult<Vec<Memory>> { |