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
feat(memory): keep memory language (#1818)
Mathew Shen965f7a373554
diff --git a/mem0/configs/prompts.py b/mem0/configs/prompts.pyindex 08f9c8f88..d0e07863e 100644--- a/mem0/configs/prompts.py+++ b/mem0/configs/prompts.py@@ -55,6 +55,7 @@ Remember the following:- Make sure to return the response in the format mentioned in the examples. The response should be in json with a key as "facts" and corresponding value will be a list of strings.Following is a conversation between the user and the assistant. You have to extract the relevant facts and preferences from the conversation and return them in the json format as shown above.+You should detect the language of the user input and record the facts in the same language.If you do not find anything relevant facts, user memories, and preferences in the below conversation, you can return an empty list corresponding to the "facts" key."""