Skip to content

Commit d7b8449

Browse files
committed
fix: event theme prompt
1 parent 56b6336 commit d7b8449

File tree

2 files changed

+12
-14
lines changed

2 files changed

+12
-14
lines changed

src/server/api/memobase_server/prompts/summary_entry_chats.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
You will be given a chats between a user and an assistant.
88
99
## Requirement
10-
- You need to list all possible user info
11-
- You need to list all possible schedule
10+
- You need to list all possible user info, schedule and events
11+
- {additional_requirements}
1212
- If the user event/schedule has specific mention time or event happen time. Convert the event date info in the message based on [TIME] after your log. for example
1313
Input: `[2024/04/30] user: I bought a new car yesterday!`
1414
Output: `user bought a new car. [mention 2024/04/30, buy car in 2024/04/29]`
@@ -22,11 +22,6 @@
2222
Output: `user bought a new car.`
2323
Explain: because you don't know the exact date, so don't attach any date.
2424
25-
## Special Requirements
26-
Below is the special requirements for your job:
27-
{additional_requirements}
28-
If empty, just ignore it. Otherwise, you must follow those requirements.
29-
3025
### Important Info
3126
Below is the topics/subtopics you should log from the chats.
3227
<topics>
@@ -58,6 +53,10 @@
5853
Always add specific mention time of your log, and the event happen time if possible.
5954
Remember, make sure your logging is pure and concise, any time info should move to [TIME INFO] block.
6055
56+
## Content Requirement
57+
- You need to list all possible user info, schedule and events
58+
- {additional_requirements}
59+
6160
Finally, The logging result should use the same language as the chats. English in, English out. Chinese in, Chinese out.
6261
Now perform your task.
6362
"""

src/server/api/memobase_server/prompts/zh_summary_entry_chats.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
你将获得用户和助手之间的对话内容。
88
99
## 要求
10-
- 你需要列出所有可能的用户信息
11-
- 你需要列出所有可能的日程安排
10+
- 你需要列出用户信息和日程安排
11+
- {additional_requirements}
1212
- 如果用户事件/日程有具体的提及时间或者事件发生的时间。根据消息中的[TIME]在你提取的事件和日程中补充相关的时间信息。例如:
1313
输入: `[2024/04/30] user: 我昨天买了一辆新车!`
1414
输出: `用户买了一辆新车[提及于 2024/04/30, 买车在2024/04/29]。`
@@ -22,11 +22,6 @@
2222
输出: `用户买了一辆新车。`
2323
说明: 因为你不知道具体日期,所以不要附加任何日期是错误的答案。
2424
25-
## 特殊要求
26-
以下是对你的特殊要求:
27-
{additional_requirements}
28-
如果为空,请忽略。否则,你必须遵循这些要求。
29-
3025
### 重要信息
3126
以下是你应该从聊天中记录的主题/子主题。
3227
<topics>
@@ -58,6 +53,10 @@
5853
始终添加你记录的具体提及时间,如果可能的话也要添加事件发生时间。
5954
记住,确保你的记录是纯正和简洁的,任何时间信息都应该移动到[TIME INFO]块中。
6055
56+
## 内容要求
57+
- 你需要列出用户信息和日程安排
58+
- {additional_requirements}
59+
6160
最后,记录结果应使用与聊天相同的语言。英文输入则英文输出,中文输入则中文输出。
6261
确保你不会重复记录信息。
6362
现在请执行你的任务。

0 commit comments

Comments
 (0)