Skip to content

Commit bbd24dd

Browse files
committed
feat: update template
1 parent 3f1bc22 commit bbd24dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/memos/templates/tree_reorganize_prompts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
5. Summarize all child memory items into one memory item.
3131
3232
Language rules:
33-
- The `key`, `value`, `tags`, `summary` fields must match the mostly used language of the input memory items.
33+
- The `key`, `value`, `tags`, `summary` fields must match the mostly used language of the input memory items. **如果输入是中文,请输出中文**
3434
- Keep `memory_type` in English.
3535
3636
Return valid JSON:
3737
{
3838
"key": <string, a unique, concise memory title>,
3939
"memory_type": <string, Either "LongTermMemory" or "UserMemory">,
40-
"value": <A detailed, self-contained, and unambiguous memory statement — written in English if the input conversation is in English, or in Chinese if the conversation is in Chinese>,
40+
"value": <A detailed, self-contained, and unambiguous memory statement — written in English if the input memory items are in English, or in Chinese if the input is in Chinese>,
4141
"tags": <A list of relevant thematic keywords (e.g., ["deadline", "team", "planning"])>,
4242
"summary": <a natural paragraph summarizing the above memories from user's perspective, 120–200 words, same language as the input>
4343
}
@@ -59,7 +59,7 @@
5959
Example: If you have items about a project across multiple phases, group them by milestone, team, or event.
6060
6161
Language rules:
62-
- The `theme` fields must match the mostly used language of the clustered memories.
62+
- The `theme` fields must match the mostly used language of the clustered memories. **如果输入是中文,请输出中文**
6363
6464
Return valid JSON:
6565
{

0 commit comments

Comments
 (0)