Skip to content

Commit 7c4a74c

Browse files
Wang-Daojiyuan.wang
andauthored
Feat/remove pref rank prompt (#456)
modify prompt Co-authored-by: yuan.wang <yuan.wang@yuanwangdebijibendiannao.local>
1 parent f67ca36 commit 7c4a74c

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)