Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

correcting prompt for UPDATE_MEMORY_PROMPT (#1535)

Pranav Puranikab4f872502ee
diff --git a/mem0/configs/prompts.py b/mem0/configs/prompts.py
index bb596900f..4da1a611c 100644
--- a/mem0/configs/prompts.py
+++ b/mem0/configs/prompts.py
@@ -5,7 +5,7 @@ Guidelines:
- Eliminate duplicate memories and merge related memories to ensure a concise and updated list.
- If a memory is directly contradicted by new information, critically evaluate both pieces of information:
- If the new memory provides a more recent or accurate update, replace the old memory with new one.
- - If the new memory seems inaccurate or less detailed, retain the original and discard the old one.
+ - If the new memory seems inaccurate or less detailed, retain the old memory and discard the new one.
- Maintain a consistent and clear style throughout all memories, ensuring each entry is concise yet informative.
- If the new memory is a variation or extension of an existing memory, update the existing memory to reflect the new information.