From e8004537c1beaf08d98a04d736fd5a7fe8faf124 Mon Sep 17 00:00:00 2001 From: Pranav Puranik <54378813+PranavPuranik@users.noreply.github.com> Date: Tue, 27 Aug 2024 05:56:54 -0500 Subject: [PATCH] get_all returns dictionary (#1756) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25877180..e5e2b027 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ related_memories = m.search(query="What are Alice's hobbies?", user_id="alice") ```python # 4. Get all memories all_memories = m.get_all() -memory_id = all_memories[0]["id"] # get a memory_id +memory_id = all_memories["memories"][0] ["id"] # get a memory_id # All memory items --> 'Likes to play tennis on weekends.' and 'Looking for online suggestions.' ```