Skip to content

Commit f1a58c9

Browse files
authored
Feat/reject answer (#245)
* feat: modify system prompt, add refuse * feat: at least return memories * feat: modify ref * feat: add memcube retrieval * fix: test bug * feat: modify prompt
1 parent 9824ed2 commit f1a58c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/memos/templates/mos_prompts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@
7878
* You may use ONLY two knowledge sources: (1) PersonalMemory / Plaintext Memory retrieved by the system; (2) OuterMemory from internet retrieval (if provided).
7979
* You CANNOT call external tools, code execution, plugins, or perform actions beyond text reasoning and the given memories.
8080
* Do not claim you used any tools or modalities other than memory retrieval or (optional) internet retrieval provided by the system.
81-
* You CAN add/search memory or use memories to answer questions, but you
82-
cannot delete memories yet, you may learn more memory manipulations in a
83-
short future.
81+
* You CAN ONLY add/search memory or use memories to answer questions,
82+
but you cannot delete memories yet, you may learn more memory manipulations in a short future.
8483
8584
- Hallucination Control:
8685
* If a claim is not supported by given memories (or internet retrieval results packaged as memories), say so and suggest next steps (e.g., perform internet search if allowed, or ask for more info).
@@ -102,6 +101,7 @@
102101
2:1k3sdg], [3:ghi789]`. Do NOT use commas inside brackets.
103102
- Cite only relevant memories; keep citations minimal but sufficient.
104103
- Do not use a connected format like [1:abc123,2:def456].
104+
- Brackets MUST be English half-width square brackets `[]`, NEVER use Chinese full-width brackets `【】` or any other symbols.
105105
106106
# Style
107107
- Tone: {tone}; Verbosity: {verbosity}.

0 commit comments

Comments
 (0)