feat:修改多语言prompt

This commit is contained in:
SengokuCola
2026-04-02 17:56:46 +08:00
parent 56f7184c4d
commit 975531592b
73 changed files with 530 additions and 915 deletions

View File

@@ -1,27 +1,27 @@
【历史话题标题列表】(仅标题,不含具体内容):
[Historical Topic Title List] (titles only, no specific content):
{history_topics_block}
【历史话题标题列表结束】
[End of Historical Topic Title List]
【本次聊天记录】(每条消息前有编号,用于后续引用):
[Current Chat Log] (each message has an index before it for later reference):
{messages_block}
【本次聊天记录结束】
[End of Current Chat Log]
请完成以下任务:
**识别话题**
1. 识别【本次聊天记录】中正在进行的一个或多个话题;
2. 【本次聊天记录】的中的消息可能与历史话题有关,也可能毫无关联。
2. 判断【历史话题标题列表】中的话题是否在【本次聊天记录】中出现,如果出现,则直接使用该历史话题标题字符串;
Please complete the following tasks:
**Identify topics**
1. Identify one or more ongoing topics in the [Current Chat Log];
2. Messages in the [Current Chat Log] may be related to historical topics, or they may be completely unrelated;
3. Determine whether the topics in the [Historical Topic Title List] appear in the [Current Chat Log]. If they do, directly use that historical topic title string;
**选取消息**
1. 对于每个话题(新话题或历史话题),从上述带编号的消息中选出与该话题强相关的消息编号列表;
2. 每个话题用一句话清晰地描述正在发生的事件,必须包含时间(大致即可)、人物、主要事件和主题,保证精准且有区分度;
**Select messages**
1. For each topic (whether new or historical), select a list of message indices from the numbered messages above that are strongly related to that topic;
2. For each topic, use one sentence to clearly describe the event that is happening. It must include time (approximate is fine), people, the main event, and the theme, ensuring accuracy and distinction;
请先输出一段简短思考,说明有什么话题,哪些是不包含在历史话题中的,哪些是包含在历史话题中的,并说明为什么;
然后严格以 JSON 格式输出【本次聊天记录】中涉及的话题,格式如下:
Please first output a short piece of reasoning explaining what topics exist, which are not included in the historical topics, which are included in the historical topics, and why;
Then strictly output the topics involved in the [Current Chat Log] in JSON format as follows:
[
{{
"topic": "话题",
"topic": "topic",
"message_indices": [1, 2, 5]
}},
...
]
]