The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
Update readme (#1549)
Dev Khantfd1d5e0e2bb6
diff --git a/README.md b/README.mdindex c3d38b59e..a81afba9a 100644--- a/README.md+++ b/README.md@@ -50,6 +50,7 @@ print(result)# Retrieve memoriesall_memories = m.get_all()+memory_id = all_memories[0]["id"] # get a memory_idprint(all_memories)# Search memories@@ -57,11 +58,11 @@ related_memories = m.search(query="What are Alice's hobbies?", user_id="alice")print(related_memories)# Update a memory-result = m.update(memory_id="m1", data="Likes to play tennis on weekends")+result = m.update(memory_id=memory_id, data="Likes to play tennis on weekends")print(result)# Get memory history-history = m.history(memory_id="m1")+history = m.history(memory_id=memory_id)print(history)```