feat(memory): keep memory language (#1818)

This commit is contained in:
Mathew Shen
2024-09-06 00:20:53 +08:00
committed by GitHub
parent 136b5545ec
commit 965f7a3735

View File

@@ -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.
"""