Skip to content

Commit 7ff77b2

Browse files
author
yuan.wang
committed
Merge branch 'feat/optimize_prompt' into feat/remove_pref_rank_prompt
2 parents f67ca36 + b35a32d commit 7ff77b2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/memos/templates/prefer_complete_prompt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,13 +601,11 @@
601601
# Note:
602602
Fact memory are summaries of facts, while preference memory are summaries of user preferences.
603603
Your response must not violate any of the user's preferences, whether explicit or implicit, and briefly explain why you answer this way to avoid conflicts.
604-
When encountering preference conflicts, the priority is: explicit preference > implicit preference > fact memory.
605604
"""
606605

607606

608607
PREF_INSTRUCTIONS_ZH = """
609608
# 注意:
610609
事实记忆是事实的摘要,而偏好记忆是用户偏好的摘要。
611610
你的回复不得违反用户的任何偏好,无论是显式偏好还是隐式偏好,并简要解释你为什么这样回答以避免冲突。
612-
当遇到偏好冲突时,优先级为:显式偏好 > 隐式偏好 > 事实记忆。
613611
"""

0 commit comments

Comments
 (0)