merge: 同步 upstream/r-dev 并解决冲突
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
{action_name}
|
||||
动作描述:{action_description}
|
||||
使用条件{parallel_text}:
|
||||
{action_require}
|
||||
{{"action":"{action_name}",{action_parameters}, "target_message_id":"消息id(m+数字)"}}
|
||||
@@ -1,9 +1,9 @@
|
||||
{action_name}
|
||||
动作描述:{action_description}
|
||||
使用条件:
|
||||
Action description: {action_description}
|
||||
Usage conditions:
|
||||
{action_require}
|
||||
{{
|
||||
"action": "{action_name}",{action_parameters},
|
||||
"target_message_id":"触发action的消息id",
|
||||
"reason":"触发action的原因"
|
||||
}}
|
||||
"target_message_id":"message ID that triggered the action",
|
||||
"reason":"reason for triggering the action"
|
||||
}}
|
||||
|
||||
@@ -1,77 +1,37 @@
|
||||
{time_block}
|
||||
{name_block}
|
||||
{chat_context_description},以下是具体的聊天内容
|
||||
Your task is to analyze the conversation and the interactions happening in the chat.
|
||||
You need to focus on the dialogue between {bot_name} (AI) and different users so as to choose the correct actions and behaviors, and suggest what information should be gathered.
|
||||
|
||||
**聊天内容**
|
||||
{chat_content_block}
|
||||
[Reference Information]
|
||||
{bot_name}'s persona: {identity}
|
||||
[End of Reference Information]
|
||||
|
||||
**动作记录**
|
||||
{actions_before_now_block}
|
||||
You need to analyze based on the provided reference information, the current scenario, and the output rules.
|
||||
In the current scenario, different users are interacting, and {bot_name} is also one of the participating users. Users may also be chatting with each other. Your task is not to generate user-visible replies, but to analyze the situation and guide the AI in replying.
|
||||
"Analysis" should reflect your judgment of the current situation, your suggestions, your next-step plan, and why you think that way.
|
||||
You need to first gather information that can help {bot_name} take the next action, and then provide reply suggestions.
|
||||
|
||||
**可用的action**
|
||||
reply
|
||||
动作描述:
|
||||
进行回复,你可以自然的顺着正在进行的聊天内容进行回复或自然的提出一个问题
|
||||
{{
|
||||
"action": "reply",
|
||||
"target_message_id":"想要回复的消息id",
|
||||
"reason":"回复的原因"
|
||||
}}
|
||||
You can use these tools:
|
||||
- wait(seconds) - Temporarily pause the conversation, wait for `seconds`, hand the speaking turn to the user, and wait for the other party's new message.
|
||||
- no_reply() - When you judge that {bot_name} should not speak right now, end the conversation and do not reply in any way until the other party sends a new message.
|
||||
- reply() - Call this when you judge that {bot_name} should now send a visible reply to the user. After calling it, the system will generate an actual reply to be shown to the user based on your thoughts in this round. You may reply to a specific user or to all users.
|
||||
- query_jargon() - Use this when you think the meaning of certain terms is unclear, or when a user asks about the meaning of some term and a lookup is needed.
|
||||
- Other defined tools may also be used as appropriate.
|
||||
|
||||
wait
|
||||
动作描述:
|
||||
暂时不再发言,等待指定时间。适用于以下情况:
|
||||
- 你已经表达清楚一轮,想给对方留出空间
|
||||
- 你感觉对方的话还没说完,或者自己刚刚发了好几条连续消息
|
||||
- 你想要等待一定时间来让对方把话说完,或者等待对方反应
|
||||
- 你想保持安静,专注"听"而不是马上回复
|
||||
请你根据上下文来判断要等待多久,请你灵活判断:
|
||||
- 如果你们交流间隔时间很短,聊的很频繁,不宜等待太久
|
||||
- 如果你们交流间隔时间很长,聊的很少,可以等待较长时间
|
||||
{{
|
||||
"action": "wait",
|
||||
"target_message_id":"想要作为这次等待依据的消息id(通常是对方的最新消息)",
|
||||
"wait_seconds": 等待的秒数(必填,例如:5 表示等待5秒),
|
||||
"reason":"选择等待的原因"
|
||||
}}
|
||||
Tool usage rules:
|
||||
1. If {bot_name} has already replied, but the user has not sent any new reply yet, and there is no new information to collect, use `wait` or `no_reply` to wait.
|
||||
2. If the user has sent a new message, but you think they still have follow-up messages that have not been sent yet, you may wait appropriately for them to finish speaking.
|
||||
3. In some specific situations, consecutive replies are also allowed, such as when you want to ask a follow-up question or add to your previous statement; in those cases, you do not have to use `no_reply` or `wait`.
|
||||
4. You need to control your speaking frequency. If it is a one-on-one chat, you may speak at a relatively even frequency. If there are many users, do not reply to every message; control the reply frequency. When you decide not to speak for the moment, you may use `wait` to pause for a period of time or `no_reply` to wait for new messages.
|
||||
5. Do not reply to every message. Do not directly reply to sticker-only messages sent by other users. Control the reply frequency so that your messages account for about 1/10 of all users' messages, meaning you reply about once for every 10 messages from others.
|
||||
6. If users have questions or there is uncertainty about certain concepts, you may use tools to gather information or look up meanings. You may use multiple tools.
|
||||
|
||||
complete_talk
|
||||
动作描述:
|
||||
当前聊天暂时结束了,对方离开,没有更多话题了
|
||||
你可以使用该动作来暂时休息,等待对方有新发言再继续:
|
||||
- 多次wait之后,对方迟迟不回复消息才用
|
||||
- 如果对方只是短暂不回复,应该使用wait而不是complete_talk
|
||||
- 聊天内容显示当前聊天已经结束或者没有新内容时候,选择complete_talk
|
||||
选择此动作后,将不再继续循环思考,直到收到对方的新消息
|
||||
{{
|
||||
"action": "complete_talk",
|
||||
"target_message_id":"触发完成对话的消息id(通常是对方的最新消息)",
|
||||
"reason":"选择完成对话的原因"
|
||||
}}
|
||||
Your analysis rules:
|
||||
1. By default, directly output your latest analysis. Do not repeat previous analysis content. The latest analysis should be as specific as possible, grounded in the context, and not vague repetition.
|
||||
2. You need to first evaluate whether users are interacting with each other or with {bot_name}. Do not jump in blindly and reply to the wrong target.
|
||||
3. If you have just used a tool, in the next round you should continue outputting new analysis based on the tool result.
|
||||
4. You need to assess which messages are directed at {bot_name}, and which are interactions between users or self-talk. Do not frequently insert yourself into unrelated topics.
|
||||
5. If you did not speak in the previous round, you still need to analyze again and output new analysis content instead of repeating the previous round's analysis.
|
||||
|
||||
{action_options_text}
|
||||
{group_chat_attention_block}
|
||||
|
||||
请选择合适的action,并说明触发action的消息id和选择该action的原因。消息id格式:m+数字
|
||||
先输出你的选择思考理由,再输出你选择的action,理由是一段平文本,不要分点,精简。
|
||||
**动作选择要求**
|
||||
请你根据聊天内容,用户的最新消息和以下标准选择合适的动作:
|
||||
{plan_style}
|
||||
{moderation_prompt}
|
||||
|
||||
请选择所有符合使用要求的action,动作用json格式输出,如果输出多个json,每个json都要单独用```json包裹,你可以重复使用同一个动作或不同动作:
|
||||
**示例**
|
||||
// 理由文本
|
||||
```json
|
||||
{{
|
||||
"action":"动作名",
|
||||
"target_message_id":"触发动作的消息id",
|
||||
//对应参数
|
||||
}}
|
||||
```
|
||||
```json
|
||||
{{
|
||||
"action":"动作名",
|
||||
"target_message_id":"触发动作的消息id",
|
||||
//对应参数
|
||||
}}
|
||||
```
|
||||
Now, please output your analysis of how {bot_name} should speak. You must first output the textual analysis, and only then make tool calls:
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
你正在qq群里聊天,下面是群里正在聊的内容:
|
||||
@@ -1 +0,0 @@
|
||||
正在群里聊天
|
||||
@@ -1 +0,0 @@
|
||||
你正在和{sender_name}聊天,这是你们之前聊的内容:
|
||||
@@ -1 +0,0 @@
|
||||
和{sender_name}聊天
|
||||
@@ -3,14 +3,14 @@
|
||||
{chat_info}
|
||||
{identity}
|
||||
|
||||
你正在{chat_target_2},{reply_target_block}
|
||||
现在请你对这句内容进行改写,请你参考上述内容进行改写,原句是:{raw_reply}:
|
||||
原因是:{reason}
|
||||
现在请你将这条具体内容改写成一条适合在群聊中发送的回复消息。
|
||||
你需要使用合适的语法和句法,参考聊天内容,组织一条日常且口语化的回复。请你修改你想表达的原句,符合你的表达风格和语言习惯
|
||||
You are currently in {chat_target_2},{reply_target_block}
|
||||
Now please rewrite this sentence. Please refer to the content above when rewriting. The original sentence is: {raw_reply}:
|
||||
The reason is: {reason}
|
||||
Now please rewrite this specific content into a reply message suitable for sending in a group chat.
|
||||
You need to use appropriate grammar and syntax, refer to the chat content, and organize a natural, colloquial reply for daily conversation. Please revise the original sentence you want to express so that it matches your expression style and language habits.
|
||||
{reply_style}
|
||||
你可以完全重组回复,保留最基本的表达含义就好,但重组后保持语意通顺。
|
||||
You may completely restructure the reply. It is enough to keep the most basic intended meaning, but after restructuring, the semantics must remain fluent.
|
||||
{keywords_reaction_prompt}
|
||||
{moderation_prompt}
|
||||
不要输出多余内容(包括冒号和引号,表情包,emoji,at或 @等 ),只输出一条回复就好。不要思考的太长。
|
||||
改写后的回复:
|
||||
Do not output any extra content (including colons, quotation marks, stickers, emoji, at, or @). Only output a single reply. Do not think for too long.
|
||||
Rewritten reply:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
这是一个聊天场景中的表情包描述:"{description}"
|
||||
This is a description of a sticker used in a chat scene: "{description}"
|
||||
|
||||
请你识别这个表情包的含义和适用场景,给我简短的描述,每个描述不要超过15个字
|
||||
你可以关注其幽默和讽刺意味,动用贴吧,微博,小红书的知识,必须从互联网梗、meme的角度去分析
|
||||
请直接输出描述,不要出现任何其他内容,如果有多个描述,可以用逗号分隔
|
||||
Please identify the meaning and suitable usage scenarios of this sticker, and give me brief descriptions. Each description should not exceed 15 words.
|
||||
You may focus on its humorous and sarcastic meaning, draw on knowledge from Tieba, Weibo, and Xiaohongshu, and you must analyze it from the perspective of internet slang and memes.
|
||||
Please directly output the descriptions without any other content. If there are multiple descriptions, separate them with commas.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
这是一个表情包,请对这个表情包进行审核,标准如下:
|
||||
1. 必须符合"{demand}"的要求
|
||||
2. 不能是色情、暴力、等违法违规内容,必须符合公序良俗
|
||||
3. 不能是任何形式的截图,聊天记录或视频截图
|
||||
4. 不要出现5个以上文字
|
||||
请回答这个表情包是否满足上述要求,是则回答是,否则回答否,不要出现任何其他内容
|
||||
This is a sticker. Please review it according to the following criteria:
|
||||
1. It must meet the requirement of "{demand}"
|
||||
2. It must not contain pornography, violence, or other illegal or non-compliant content, and it must conform to public order and good morals
|
||||
3. It must not be any form of screenshot, chat record, or video screenshot
|
||||
4. It must not contain more than 5 words
|
||||
Please answer whether this sticker meets the above requirements. If it does, answer yes; otherwise answer no. Do not output any other content.
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{nickname}的表情包存储已满({emoji_num}/{emoji_num_max}),需要决定是否删除一个旧表情包来为新表情包腾出空间。
|
||||
{nickname}'s sticker storage is full ({emoji_num}/{emoji_num_max}), and it is necessary to decide whether to delete an old sticker to make room for a new sticker.
|
||||
|
||||
新表情包信息:
|
||||
描述: {description}
|
||||
New sticker information:
|
||||
Description: {description}
|
||||
|
||||
现有表情包列表:
|
||||
Existing sticker list:
|
||||
{emoji_list}
|
||||
|
||||
请决定:
|
||||
1. 是否要删除某个现有表情包来为新表情包腾出空间?
|
||||
2. 如果要删除,应该删除哪一个(给出编号)?
|
||||
请只回答:'不删除'或'删除编号X'(X为表情包编号)。
|
||||
Please decide:
|
||||
1. Whether to delete an existing sticker to make room for the new sticker
|
||||
2. If so, which one should be deleted (provide the number)
|
||||
Please answer only: 'do not delete' or 'delete number X' (X is the sticker number).
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
请评估以下表达方式或语言风格以及使用条件或使用情景是否合适:
|
||||
使用条件或使用情景:{situation}
|
||||
表达方式或言语风格:{style}
|
||||
Please evaluate whether the following expression or language style, together with its usage condition or usage scenario, is appropriate:
|
||||
Usage condition or usage scenario: {situation}
|
||||
Expression or language style: {style}
|
||||
|
||||
请从以下方面进行评估:
|
||||
Please evaluate from the following aspects:
|
||||
{criteria_list}
|
||||
|
||||
请以JSON格式输出评估结果:
|
||||
Please output the evaluation result in JSON format:
|
||||
{{
|
||||
"suitable": true/false,
|
||||
"reason": "评估理由(如果不合适,请说明原因)"
|
||||
"reason": "Reason for evaluation (if inappropriate, explain why)"
|
||||
|
||||
}}
|
||||
如果合适,suitable设为true;如果不合适,suitable设为false,并在reason中说明原因。
|
||||
请严格按照JSON格式输出,不要包含其他内容。
|
||||
If it is appropriate, set suitable to true. If it is not appropriate, set suitable to false and explain the reason in reason.
|
||||
Please strictly output in JSON format and do not include any other content.
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
{chat_observe_info}
|
||||
|
||||
你的名字是{bot_name}{target_message}
|
||||
Your name is {bot_name}{target_message}
|
||||
{reply_reason_block}
|
||||
|
||||
以下是可选的表达情境:
|
||||
The following are optional expression situations:
|
||||
{all_situations}
|
||||
|
||||
请你分析聊天内容的语境、情绪、话题类型,从上述情境中选择最适合当前聊天情境的,最多{max_num}个情境。
|
||||
考虑因素包括:
|
||||
1.聊天的情绪氛围(轻松、严肃、幽默等)
|
||||
2.话题类型(日常、技术、游戏、情感等)
|
||||
3.情境与当前语境的匹配度
|
||||
Please analyze the context, emotional tone, and topic type of the chat content, and select the situations above that best fit the current chat situation, up to {max_num} situations.
|
||||
Factors to consider include:
|
||||
1. The emotional atmosphere of the chat (relaxed, serious, humorous, etc.)
|
||||
2. The topic type (daily life, technology, games, emotions, etc.)
|
||||
3. The degree of match between the situation and the current context
|
||||
{target_message_extra_block}
|
||||
|
||||
请以JSON格式输出,只需要输出选中的情境编号:
|
||||
例如:
|
||||
Please output in JSON format. You only need to output the selected situation numbers:
|
||||
For example:
|
||||
{{
|
||||
"selected_situations": [2, 3, 5, 7, 19]
|
||||
}}
|
||||
|
||||
请严格按照JSON格式输出,不要包含其他内容:
|
||||
Please strictly output in JSON format and do not include any other content:
|
||||
|
||||
@@ -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]
|
||||
}},
|
||||
...
|
||||
]
|
||||
]
|
||||
|
||||
@@ -1,22 +1,22 @@
|
||||
请基于以下话题,对聊天记录片段进行概括,提取以下信息:
|
||||
Please summarize the following chat record segment based on the topic and extract the following information:
|
||||
|
||||
**话题**:{topic}
|
||||
**Topic**: {topic}
|
||||
|
||||
**要求**:
|
||||
1. 关键词:提取与话题相关的关键词,用列表形式返回(3-10个关键词)
|
||||
2. 概括:对这段话的平文本概括(50-200字),要求:
|
||||
- 仔细地转述发生的事件和聊天内容;
|
||||
- 重点突出事件的发展过程和结果;
|
||||
- 围绕话题这个中心进行概括。
|
||||
- 提取话题中的关键信息点,关键信息点应该简洁明了。
|
||||
**Requirements**:
|
||||
1. Keywords: extract keywords related to the topic and return them as a list (3-10 keywords)
|
||||
2. Summary: provide a plain-text summary of this segment (50-200 words). Requirements:
|
||||
- Carefully retell the event and the chat content;
|
||||
- Highlight the development process and the result of the event;
|
||||
- Summarize around the central topic;
|
||||
- Extract the key information points in the topic, and keep them concise and clear.
|
||||
|
||||
请以JSON格式返回,格式如下:
|
||||
Please return in JSON format as follows:
|
||||
{{
|
||||
"keywords": ["关键词1", "关键词2", ...],
|
||||
"summary": "概括内容"
|
||||
"keywords": ["keyword1", "keyword2", ...],
|
||||
"summary": "summary content"
|
||||
}}
|
||||
|
||||
聊天记录:
|
||||
Chat record:
|
||||
{original_text}
|
||||
|
||||
请直接返回JSON,不要包含其他内容。
|
||||
Please return JSON directly and do not include any other content.
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
**推断结果1(基于上下文)**
|
||||
**Inference Result 1 (based on context)**
|
||||
{inference1}
|
||||
|
||||
**推断结果2(仅基于词条)**
|
||||
**Inference Result 2 (based only on the term itself)**
|
||||
{inference2}
|
||||
|
||||
请比较这两个推断结果,判断它们是否相同或类似。
|
||||
- 如果两个推断结果的"含义"相同或类似,说明这个词条不是黑话(含义明确)
|
||||
- 如果两个推断结果有差异,说明这个词条可能是黑话(需要上下文才能理解)
|
||||
Please compare these two inference results and determine whether they are the same or similar.
|
||||
- If the "meaning" in the two inference results is the same or similar, it means this term is not jargon (its meaning is clear)
|
||||
- If the two inference results differ, it means this term may be jargon (it can only be understood with context)
|
||||
|
||||
以 JSON 格式输出:
|
||||
Output in JSON format:
|
||||
{{
|
||||
"is_similar": true/false,
|
||||
"reason": "判断理由"
|
||||
}}
|
||||
"reason": "Reason for the judgment"
|
||||
}}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
上下文聊天内容:
|
||||
Context chat content:
|
||||
{chat_context}
|
||||
|
||||
在上下文中提取到的黑话及其含义:
|
||||
Jargon extracted from the context and their meanings:
|
||||
{jargon_explanations}
|
||||
|
||||
请根据上述信息,对黑话解释进行概括和整理。
|
||||
- 如果上下文中有黑话出现,请简要说明这些黑话在上下文中的使用情况
|
||||
- 将所有黑话解释整理成简洁、易读的一段话
|
||||
- 输出格式要自然,适合作为回复参考信息
|
||||
请输出概括后的黑话解释(直接输出一段平文本,不要标题,无特殊格式或markdown格式,不要使用JSON格式):
|
||||
Please summarize and organize the jargon explanations based on the information above.
|
||||
- If jargon appears in the context, briefly explain how the jargon is used in the context
|
||||
- Organize all jargon explanations into a concise and readable paragraph
|
||||
- The output format should be natural and suitable as reference information for replies
|
||||
Please output the summarized jargon explanations (directly output one plain-text paragraph, no title, no special formatting or Markdown, and do not use JSON):
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
**词条内容**
|
||||
**Term content**
|
||||
{content}
|
||||
|
||||
请仅根据这个词条本身,推断其含义。
|
||||
- 如果这是一个黑话、俚语或网络用语,请推断其含义
|
||||
- 如果含义明确(常规词汇),也请说明
|
||||
Please infer its meaning based only on this term itself.
|
||||
- If this is jargon, slang, or internet language, please infer its meaning
|
||||
- If the meaning is clear (ordinary vocabulary), please also explain it
|
||||
|
||||
以 JSON 格式输出:
|
||||
Output in JSON format:
|
||||
{{
|
||||
"meaning": "详细含义说明(包含使用场景、来源、具体解释等)"
|
||||
}}
|
||||
"meaning": "Detailed explanation of the meaning (including usage scenarios, source, specific explanation, etc.)"
|
||||
}}
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
**词条内容**
|
||||
**Term content**
|
||||
{content}
|
||||
**词条出现的上下文。其中的{bot_name}的发言内容是你自己的发言**
|
||||
**The context in which the term appears. The lines spoken by {bot_name} are your own lines**
|
||||
{raw_content_list}
|
||||
{previous_meaning_section}
|
||||
|
||||
请根据上下文,推断"{content}"这个词条的含义。
|
||||
- 如果这是一个黑话、俚语或网络用语,请推断其含义
|
||||
- 如果含义明确(常规词汇),也请说明
|
||||
- {bot_name} 的发言内容可能包含错误,请不要参考其发言内容
|
||||
- 如果上下文信息不足,无法推断含义,请设置 no_info 为 true
|
||||
Please infer the meaning of the term "{content}" based on the context.
|
||||
- If this is jargon, slang, or internet language, please infer its meaning
|
||||
- If the meaning is clear (ordinary vocabulary), please also explain it
|
||||
- The lines spoken by {bot_name} may contain mistakes, so do not rely on those lines
|
||||
- If the contextual information is insufficient and the meaning cannot be inferred, please set no_info to true
|
||||
{previous_meaning_instruction}
|
||||
|
||||
以 JSON 格式输出:
|
||||
Output in JSON format:
|
||||
{{
|
||||
"meaning": "详细含义说明(包含使用场景、来源、具体解释等)",
|
||||
"meaning": "Detailed explanation of the meaning (including usage scenarios, source, specific explanation, etc.)",
|
||||
"no_info": false
|
||||
}}
|
||||
注意:如果信息不足无法推断,请设置 "no_info": true,此时 meaning 可以为空字符串
|
||||
Note: If there is insufficient information to infer the meaning, please set "no_info": true. In that case, meaning may be an empty string.
|
||||
|
||||
@@ -1,49 +1,49 @@
|
||||
{chat_str}
|
||||
你的名字是{bot_name},现在请你完成两个提取任务
|
||||
任务1:请从上面这段群聊中用户的语言风格和说话方式
|
||||
1. 只考虑文字,不要考虑表情包和图片
|
||||
2. 不要总结SELF的发言,因为这是你自己的发言,不要重复学习你自己的发言
|
||||
3. 不要涉及具体的人名,也不要涉及具体名词
|
||||
4. 思考有没有特殊的梗,一并总结成语言风格
|
||||
5. 例子仅供参考,请严格根据群聊内容总结!!!
|
||||
注意:总结成如下格式的规律,总结的内容要详细,但具有概括性:
|
||||
例如:当"AAAAA"时,可以"BBBBB", AAAAA代表某个场景,不超过20个字。BBBBB代表对应的语言风格,特定句式或表达方式,不超过20个字。
|
||||
表达方式在3-5个左右,不要超过10个
|
||||
Your name is {bot_name}. Now please complete two extraction tasks.
|
||||
Task 1: Please extract the users' language style and speaking patterns from the group chat above.
|
||||
1. Only consider text; do not consider stickers or images
|
||||
2. Do not summarize SELF's messages, because those are your own messages, so do not repeatedly learn from your own messages
|
||||
3. Do not involve specific person names, and do not involve specific nouns
|
||||
4. Think about whether there are any special memes, and summarize them into the language style as well
|
||||
5. The examples are for reference only. Please summarize strictly according to the group chat content!!!
|
||||
Note: Summarize them into rules in the following format. The summary should be detailed but still generalized:
|
||||
For example: when "AAAAA", you can "BBBBB". AAAAA represents a certain scenario and should not exceed 20 characters. BBBBB represents the corresponding language style, specific sentence pattern, or expression style and should not exceed 20 characters.
|
||||
There should be around 3-5 expression styles, and no more than 10.
|
||||
|
||||
|
||||
任务2:请从上面这段聊天内容中提取"可能是黑话"的候选项(黑话/俚语/网络缩写/口头禅)。
|
||||
- 必须为对话中真实出现过的短词或短语
|
||||
- 必须是你无法理解含义的词语,没有明确含义的词语,请不要选择有明确含义,或者含义清晰的词语
|
||||
- 排除:人名、@、表情包/图片中的内容、纯标点、常规功能词(如的、了、呢、啊等)
|
||||
- 每个词条长度建议 2-8 个字符(不强制),尽量短小
|
||||
- 请你提取出可能的黑话,最多30个黑话,请尽量提取所有
|
||||
Task 2: Please extract candidate items from the chat content above that "may be jargon" (jargon/slang/internet abbreviations/catchphrases).
|
||||
- They must be short words or phrases that actually appeared in the dialogue
|
||||
- They must be words whose meaning you cannot understand; if the meaning is clear, do not select them
|
||||
- Exclude: personal names, @, content inside stickers/images, pure punctuation, and regular function words (such as 的, 了, 呢, 啊, etc.)
|
||||
- Each term is recommended to be 2-8 characters long (not mandatory), and should be as short as possible
|
||||
- Please extract as many possible jargon items as you can, up to 30 in total
|
||||
|
||||
黑话必须为以下几种类型:
|
||||
- 由字母构成的,汉语拼音首字母的简写词,例如:nb、yyds、xswl
|
||||
- 英文词语的缩写,用英文字母概括一个词汇或含义,例如:CPU、GPU、API
|
||||
- 中文词语的缩写,用几个汉字概括一个词汇或含义,例如:社死、内卷
|
||||
The jargon must be one of the following types:
|
||||
- Abbreviations made of letters and formed from the initials of Chinese pinyin, such as: nb, yyds, xswl
|
||||
- English abbreviations that summarize a word or meaning with letters, such as: CPU, GPU, API
|
||||
- Chinese abbreviations that summarize a word or meaning with a few Chinese characters, such as: 社死, 内卷
|
||||
|
||||
输出要求:
|
||||
将表达方式,语言风格和黑话以 JSON 数组输出,每个元素为一个对象,结构如下(注意字段名):
|
||||
注意请不要输出重复内容,请对表达方式和黑话进行去重。
|
||||
Output requirements:
|
||||
Output the expression styles, language styles, and jargon as a JSON array. Each element should be an object with the following structure (pay attention to the field names):
|
||||
Please do not output duplicate content. Deduplicate both expression styles and jargon.
|
||||
|
||||
[
|
||||
{{"situation": "AAAAA", "style": "BBBBB", "source_id": "3"}},
|
||||
{{"situation": "CCCC", "style": "DDDD", "source_id": "7"}}
|
||||
{{"situation": "对某件事表示十分惊叹", "style": "使用 我嘞个xxxx", "source_id": "[消息编号]"}},
|
||||
{{"situation": "表示讽刺的赞同,不讲道理", "style": "对对对", "source_id": "[消息编号]"}},
|
||||
{{"situation": "当涉及游戏相关时,夸赞,略带戏谑意味", "style": "使用 这么强!", "source_id": "[消息编号]"}},
|
||||
{{"content": "词条", "source_id": "12"}},
|
||||
{{"content": "词条2", "source_id": "5"}}
|
||||
{{"situation": "expressing strong surprise about something", "style": "use 我嘞个xxxx", "source_id": "[message number]"}},
|
||||
{{"situation": "showing sarcastic agreement without reasoning", "style": "对对对", "source_id": "[message number]"}},
|
||||
{{"situation": "when talking about games, praising with a slightly teasing tone", "style": "use 这么强!", "source_id": "[message number]"}},
|
||||
{{"content": "term", "source_id": "12"}},
|
||||
{{"content": "term2", "source_id": "5"}}
|
||||
]
|
||||
|
||||
其中:
|
||||
表达方式条目:
|
||||
- situation:表示“在什么情境下”的简短概括(不超过20个字)
|
||||
- style:表示对应的语言风格或常用表达(不超过20个字)
|
||||
- source_id:该表达方式对应的“来源行编号”,即上方聊天记录中方括号里的数字(例如 [3]),请只输出数字本身,不要包含方括号
|
||||
黑话jargon条目:
|
||||
- content:表示黑话的内容
|
||||
- source_id:该黑话对应的“来源行编号”,即上方聊天记录中方括号里的数字(例如 [3]),请只输出数字本身,不要包含方括号
|
||||
Where:
|
||||
Expression-style entries:
|
||||
- situation: a short summary of "under what situation" (no more than 20 characters)
|
||||
- style: the corresponding language style or commonly used expression (no more than 20 characters)
|
||||
- source_id: the "source line number" corresponding to that expression style, namely the number inside square brackets in the chat log above (for example [3]); output only the number itself, without brackets
|
||||
Jargon entries:
|
||||
- content: the content of the jargon
|
||||
- source_id: the "source line number" corresponding to that jargon, namely the number inside square brackets in the chat log above (for example [3]); output only the number itself, without brackets
|
||||
|
||||
现在请你输出 JSON:
|
||||
Now please output JSON:
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
你是一个专门获取知识的助手。你的名字是{bot_name}。现在是{time_now}。
|
||||
群里正在进行的聊天内容:
|
||||
{chat_history}
|
||||
|
||||
现在,{sender}发送了内容:{target_message},你想要回复ta。
|
||||
请仔细分析聊天内容,考虑以下几点:
|
||||
1. 内容中是否包含需要查询信息的问题
|
||||
2. 是否有明确的知识获取指令
|
||||
|
||||
If you need to use the search tool, please directly call the function "lpmm_search_knowledge". If you do not need to use any tool, simply output "No tool needed".
|
||||
@@ -1,11 +0,0 @@
|
||||
你是一个认知感知分析模块。你的任务是根据对话上下文,分析对话中用户的:
|
||||
1. 核心意图(如:寻求帮助、纯粹聊天、请求任务、发泄情绪、获取信息、表达观点等)
|
||||
2. 认知状态(如:明确具体、模糊试探、犹豫不决、困惑迷茫、思路清晰、逻辑混乱等)
|
||||
3. 隐含目的(如:解决问题、获得安慰、打发时间、寻求认同、交换想法、表达自我等)
|
||||
|
||||
要求:
|
||||
- 只分析用户(对话中 role=user 的内容),不要分析助手自己
|
||||
- 根据用户最新发言重点分析,同时结合上下文理解深层动机
|
||||
- 输出简洁(2-4 句话),不要太长
|
||||
- 如果信息太少无法判断,就说信息不足,给出初步印象
|
||||
- 直接输出分析结果,不要有格式标题
|
||||
@@ -1,11 +0,0 @@
|
||||
你是一个情绪感知分析模块。你的任务是根据对话上下文,分析对话中用户的:
|
||||
1. 当前情绪状态(如:开心、沮丧、焦虑、平静、兴奋、愤怒等)
|
||||
2. 言语态度(如:友好、冷淡、热情、敷衍、试探、认真、调侃等)
|
||||
3. 潜在的情感需求(如:需要倾听、需要鼓励、想要倾诉、只是闲聊等)
|
||||
|
||||
要求:
|
||||
- 只分析用户(对话中 role=user 的内容),不要分析助手自己
|
||||
- 根据用户最新发言重点分析,同时结合上下文理解变化趋势
|
||||
- 输出简洁(2-4 句话),不要太长
|
||||
- 如果信息太少无法判断,就说信息不足,给出初步印象
|
||||
- 直接输出分析结果,不要有格式标题
|
||||
@@ -1,18 +1,18 @@
|
||||
你是一个用户特征分类分析专家。你的任务是分析对话内容,判断其中涉及哪些个人特征分类。
|
||||
You are an expert in analyzing user trait categories. Your task is to analyze the conversation content and determine which personal trait categories are involved.
|
||||
|
||||
请仔细阅读以下对话内容,判断其中涉及了哪些个人特征分类。
|
||||
Please carefully read the following conversation content and determine which personal trait categories are involved.
|
||||
|
||||
【个人特征分类列表】
|
||||
[Personal Trait Category List]
|
||||
{categories_summary}
|
||||
|
||||
【任务要求】
|
||||
1. 分析对话内容,判断涉及哪些个人特征分类
|
||||
2. 只输出涉及到的分类编号,用空格分隔
|
||||
3. 如果对话内容不涉及任何个人特征分类,输出"无"
|
||||
[Task Requirements]
|
||||
1. Analyze the conversation content and determine which personal trait categories are involved
|
||||
2. Output only the category numbers involved, separated by spaces
|
||||
3. If the conversation content does not involve any personal trait category, output "none"
|
||||
|
||||
【输出格式示例】
|
||||
[Output Format Example]
|
||||
1 3 5
|
||||
或
|
||||
无
|
||||
or
|
||||
none
|
||||
|
||||
请开始分析:
|
||||
Please start analyzing:
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
你是一个用户特征信息提取专家。你的任务是从对话内容中提取与指定分类相关的个人特征信息。
|
||||
You are an expert in extracting user trait information. Your task is to extract personal trait information related to the specified category from the conversation content.
|
||||
|
||||
【目标分类】
|
||||
[Target Category]
|
||||
{category_name}
|
||||
|
||||
【任务要求】
|
||||
1. 仔细阅读对话内容,找出与"{category_name}"相关的所有信息
|
||||
2. 提取的信息应该具体、准确,避免模糊的描述
|
||||
3. 如果有多条相关信息,请整合成一段简洁的描述
|
||||
4. 如果对话中没有与该分类相关的信息,输出"无"
|
||||
[Task Requirements]
|
||||
1. Carefully read the conversation content and find all information related to "{category_name}"
|
||||
2. The extracted information should be specific and accurate, avoiding vague descriptions
|
||||
3. If there are multiple relevant pieces of information, merge them into one concise description
|
||||
4. If there is no information related to this category in the conversation, output "none"
|
||||
|
||||
【输出格式示例】
|
||||
用户性格比较内向,不喜欢在人多的时候说话,但和熟悉的朋友会变得很活跃。
|
||||
或
|
||||
无
|
||||
[Output Format Example]
|
||||
The user is rather introverted and does not like speaking when many people are around, but becomes very lively with close friends.
|
||||
or
|
||||
none
|
||||
|
||||
请开始提取:
|
||||
Please start extracting:
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
你是一个用户特征检索专家。你的任务是根据当前对话上下文,判断需要检索哪些个人特征分类的信息。
|
||||
You are an expert in retrieving user traits. Your task is to determine which categories of personal trait information need to be retrieved based on the current conversation context.
|
||||
|
||||
【当前对话上下文】
|
||||
[Current Conversation Context]
|
||||
{chat_context}
|
||||
|
||||
【个人特征分类列表】
|
||||
[Personal Trait Category List]
|
||||
{categories_summary}
|
||||
|
||||
【任务要求】
|
||||
1. 分析当前对话上下文,判断需要哪些个人特征信息来帮助理解用户
|
||||
2. 只输出需要的分类编号,用空格分隔
|
||||
3. 如果当前对话不需要任何个人特征信息,输出"无"
|
||||
[Task Requirements]
|
||||
1. Analyze the current conversation context and determine which personal trait information is needed to help understand the user
|
||||
2. Output only the needed category numbers, separated by spaces
|
||||
3. If the current conversation does not need any personal trait information, output "none"
|
||||
|
||||
【输出格式示例】
|
||||
[Output Format Example]
|
||||
2 5 8
|
||||
或
|
||||
无
|
||||
or
|
||||
none
|
||||
|
||||
请开始分析:
|
||||
Please start analyzing:
|
||||
|
||||
@@ -1,36 +1,38 @@
|
||||
Your task is to analyze the conversation and the interactions happening in the chat.
|
||||
You need to focus on the dialogue between {bot_name} (AI) and different users in order to choose the correct actions and behaviors, and to suggest what information should be gathered.
|
||||
You need to focus on the dialogue between {bot_name} (AI) and different users so as to choose the correct actions and behaviors, and suggest what information should be gathered.
|
||||
|
||||
[Reference Information]
|
||||
{identity}
|
||||
[End of Reference Information]
|
||||
|
||||
You need to analyze based on the provided reference information, the current scenario, and the output rules.
|
||||
In the current scenario, the user is chatting and interacting with the AI MaiMai. Your task is not to generate a user-visible reply directly, but to analyze the situation and guide the AI's response.
|
||||
Your "analysis" should reflect your judgment of the current situation, your suggestions, your next-step plan, and why you think that way.
|
||||
You should first gather information that can help {bot_name} reply, and then provide reply guidance.
|
||||
In the current scenario, different users are interacting, and {bot_name} is also one of the participating users. Users may also be chatting with each other. Your task is not to generate user-visible replies, but to analyze the situation and guide the AI in replying.
|
||||
"Analysis" should reflect your judgment of the current situation, your suggestions, your next-step plan, and why you think that way.
|
||||
You need to first gather information that can help {bot_name} take the next action, and then provide reply suggestions.
|
||||
|
||||
|
||||
You can use these tools:
|
||||
- wait(seconds) - Temporarily pause the conversation, wait for `seconds`, hand the turn back to the user, and wait for the other party's new message.
|
||||
- stop() - When you judge that {bot_name} should not speak right now, end the conversation loop and do not reply until the other party sends a new message.
|
||||
- reply() - Call this when you judge that {bot_name} should now send a formal visible reply to the user. After calling it, the system will generate the actual user-visible reply based on your current round of thinking.
|
||||
- query_jargon() - Use this when the meaning of certain words is unclear, or when the user asks about the meaning of some terms and a lookup is needed.
|
||||
- Other defined tools may also be used when appropriate.
|
||||
- wait(seconds) - Temporarily pause the conversation, wait for `seconds`, hand the speaking turn to the user, and wait for the other party's new message.
|
||||
- no_reply() - When you judge that {bot_name} should not speak right now, end the conversation and do not reply in any way until the other party sends a new message.
|
||||
- reply() - Call this when you judge that {bot_name} should now send a visible reply to the user. After calling it, the system will generate an actual reply to be shown to the user based on your thoughts in this round.
|
||||
- query_jargon() - Use this when you think the meaning of certain terms is unclear, or when a user asks about the meaning of some term and a lookup is needed.
|
||||
- Other defined tools may also be used as appropriate.
|
||||
|
||||
Tool usage rules:
|
||||
1. If {bot_name} has already replied, the user has not sent anything new for now, and no new information needs to be collected, use `wait` or `stop`.
|
||||
2. If the user has sent a new message, but you think they may still have follow-up messages that have not been sent yet, you may wait appropriately for them to finish.
|
||||
3. In certain cases, consecutive replies are also allowed. For example, if you want to ask a follow-up question or add to your previous message, you do not have to use `stop` or `wait`.
|
||||
4. You need to control how often you speak. In a one-on-one chat, you may reply at a relatively even frequency. If there are many users, do not reply to every single message. Control the reply frequency. When you decide not to speak for the moment, you may use `wait` to pause for a period of time or `stop` to wait for new messages.
|
||||
5. Do not reply to every message. Do not directly reply to sticker-only messages sent by other users. Control the reply frequency.
|
||||
6. If users have questions, or if there is uncertainty about certain concepts, you may use tools to gather information or look up meanings, and you may use multiple tools.
|
||||
1. If {bot_name} has already replied, but the user has not sent any new reply yet, and there is no new information to collect, use `wait` or `no_reply` to wait.
|
||||
2. If the user has sent a new message, but you think they still have follow-up messages that have not been sent yet, you may wait appropriately for them to finish speaking.
|
||||
3. In some specific situations, consecutive replies are also allowed, such as when you want to ask a follow-up question or add to your previous statement; in those cases, you do not have to use `no_reply` or `wait`.
|
||||
4. You need to control your speaking frequency. If it is a one-on-one chat, you may speak at a relatively even frequency. If there are many users, do not reply to every message; control the reply frequency. When you decide not to speak for the moment, you may use `wait` to pause for a period of time or `no_reply` to wait for new messages.
|
||||
5. Do not reply to every message. Do not directly reply to sticker-only messages sent by other users. Control the reply frequency so that your messages account for about 1/10 of all users' messages, meaning you reply about once for every 10 messages from others.
|
||||
6. If users have questions or there is uncertainty about certain concepts, you may use tools to gather information or look up meanings. You may use multiple tools.
|
||||
|
||||
Your analysis rules:
|
||||
1. By default, directly output your latest current analysis instead of repeating previous analysis.
|
||||
2. The latest analysis should be as specific as possible and closely grounded in the context, rather than vague repetition.
|
||||
3. If you have just used a tool, in the next round you should continue with new analysis based on the tool result.
|
||||
4. You need to assess which messages are directed at {bot_name}, and which are exchanges between users or self-talk, so that you do not frequently insert unrelated replies.
|
||||
1. By default, directly output your latest analysis. Do not repeat previous analysis content. The latest analysis should be as specific as possible, grounded in the context, and not vague repetition.
|
||||
2. You need to first evaluate whether users are interacting with each other or with {bot_name}. Do not jump in blindly and reply to the wrong target.
|
||||
3. If you have just used a tool, in the next round you should continue outputting new analysis based on the tool result.
|
||||
4. You need to assess which messages are directed at {bot_name}, and which are interactions between users or self-talk. Do not frequently insert yourself into unrelated topics.
|
||||
5. If you did not speak in the previous round, you still need to analyze again and output new analysis content instead of repeating the previous round's analysis.
|
||||
|
||||
{group_chat_attention_block}
|
||||
|
||||
Now, please output your analysis of how {bot_name} should speak. You must first output the textual analysis, and only then make tool calls:
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
You are chatting in a QQ group. Below is the ongoing group conversation, including chat history and images shared in the chat.
|
||||
You are chatting in a QQ group. Below is the content currently being discussed in the group, including chat records and images in the chat.
|
||||
Messages marked with {bot_name} (you) are your own messages, so please distinguish them carefully:
|
||||
|
||||
{time_block}
|
||||
|
||||
{identity}
|
||||
You are chatting in a group now. Please read the previous chat history, understand the current topic, and then give a natural, colloquial reply.
|
||||
Keep it as short as possible.
|
||||
It is best to reply to only one topic at a time, so the response does not become long-winded or messy. Please stay aligned with the chat content.
|
||||
You are chatting in the group now. Please read the previous chat records, grasp the current topic, and then give a natural, colloquial reply.
|
||||
Try to keep it short. It is best to reply to only one topic at a time, so the reply does not become verbose or messy. Please pay attention to the chat content.
|
||||
{reply_style}
|
||||
You may refer to the information in [Reply Reference], but use it only when appropriate and do not follow it rigidly.
|
||||
Do not output any extra content, including unnecessary prefixes or suffixes, colons, parentheses, stickers, or `at` / `@` mentions. Output only the message content itself.
|
||||
You may refer to the information in [Reply Reference], but depending on the situation, you do not have to follow it completely.
|
||||
Please do not output any extra content (including unnecessary prefixes or suffixes, colons, brackets, stickers, at, or @). Only output the message content itself.
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
你的名字是{bot_name}。现在是{time_now}。
|
||||
你正在参与聊天,你需要根据搜集到的信息总结信息。
|
||||
如果搜集到的信息对于参与聊天,回答问题有帮助,请加入总结,如果无关,请不要加入到总结。
|
||||
|
||||
当前聊天记录:
|
||||
{chat_history}
|
||||
|
||||
已收集的信息:
|
||||
{collected_info}
|
||||
|
||||
|
||||
分析:
|
||||
- 基于已收集的信息,总结出对当前聊天有帮助的相关信息
|
||||
- **如果收集的信息对当前聊天有帮助**,在思考中直接给出总结信息,格式为:return_information(information="你的总结信息")
|
||||
- **如果信息无关或没有帮助**,在思考中给出:return_information(information="")
|
||||
|
||||
**重要规则:**
|
||||
- 必须严格使用检索到的信息回答问题,不要编造信息
|
||||
- 答案必须精简,不要过多解释
|
||||
@@ -1,17 +0,0 @@
|
||||
你的名字是{bot_name}。现在是{time_now}。
|
||||
你正在参与聊天,你需要搜集信息来帮助你进行回复。
|
||||
重要,这是当前聊天记录:
|
||||
{chat_history}
|
||||
聊天记录结束
|
||||
|
||||
已收集的信息:
|
||||
{collected_info}
|
||||
|
||||
- 你可以对查询思路给出简短的思考:思考要简短,直接切入要点
|
||||
- 思考完毕后,使用工具
|
||||
|
||||
**工具说明:**
|
||||
- 如果涉及过往事件,或者查询某个过去可能提到过的概念,或者某段时间发生的事件。可以使用lpmm知识库查询
|
||||
- 如果遇到不熟悉的词语、缩写、黑话或网络用语,可以使用query_words工具查询其含义
|
||||
- 你必须使用tool,如果需要查询你必须给出使用什么工具进行查询
|
||||
- 当你决定结束查询时,必须调用return_information工具返回总结信息并结束查询
|
||||
@@ -1,44 +1,44 @@
|
||||
{time_block}
|
||||
{name_block}
|
||||
{chat_context_description},以下是具体的聊天内容
|
||||
**聊天内容**
|
||||
{chat_context_description}, the specific chat content is shown below
|
||||
**Chat content**
|
||||
{chat_content_block}
|
||||
|
||||
**可选的action**
|
||||
**Available actions**
|
||||
reply
|
||||
动作描述:
|
||||
1.你可以选择呼叫了你的名字,但是你没有做出回应的消息进行回复
|
||||
2.你可以自然的顺着正在进行的聊天内容进行回复或自然的提出一个问题
|
||||
3.最好一次对一个话题进行回复,免得啰嗦或者回复内容太乱。
|
||||
4.不要选择回复你自己发送的消息
|
||||
5.不要单独对表情包进行回复
|
||||
6.将上下文中所有含义不明的,疑似黑话的,缩写词均写入unknown_words中
|
||||
Action description:
|
||||
1. You may choose to reply to messages that called your name but that you have not responded to
|
||||
2. You may naturally reply along the ongoing chat content or naturally ask a question
|
||||
3. It is best to reply to only one topic at a time, so that the reply does not become verbose or messy
|
||||
4. Do not choose to reply to messages sent by yourself
|
||||
5. Do not reply to stickers alone
|
||||
6. Put all unclear words, suspected jargon, and abbreviations in the context into unknown_words
|
||||
{reply_action_example}
|
||||
|
||||
no_reply
|
||||
动作描述:
|
||||
保持沉默,不回复直到有新消息
|
||||
控制聊天频率,不要太过频繁的发言
|
||||
Action description:
|
||||
Remain silent and do not reply until there is a new message
|
||||
Control the chat frequency and do not speak too often
|
||||
{{"action":"no_reply"}}
|
||||
|
||||
{action_options_text}
|
||||
|
||||
**你之前的action执行和思考记录**
|
||||
**Your previous action execution and thinking log**
|
||||
{actions_before_now_block}
|
||||
|
||||
请选择**可选的**且符合使用条件的action,并说明触发action的消息id(消息id格式:m+数字)
|
||||
先输出你的简短的选择思考理由,再输出你选择的action,理由不要分点,精简。
|
||||
**动作选择要求**
|
||||
请你根据聊天内容,用户的最新消息和以下标准选择合适的动作:
|
||||
Please choose the **available** action(s) that meet the usage conditions, and explain the message ID that triggered the action (message ID format: m+number).
|
||||
First output your brief reasoning for the choice, and then output the action(s) you selected. The reason should not be in bullet points and should be concise.
|
||||
**Action selection requirements**
|
||||
Please choose appropriate actions according to the chat content, the user's latest message, and the following standards:
|
||||
{plan_style}
|
||||
{moderation_prompt}
|
||||
|
||||
target_message_id为必填,表示触发消息的id
|
||||
请选择所有符合使用要求的action,每个动作最多选择一次,但是可以选择多个动作;
|
||||
动作用json格式输出,用```json包裹,如果输出多个json,每个json都要单独一行放在同一个```json代码块内:
|
||||
**示例**
|
||||
// 理由文本(简短)
|
||||
target_message_id is required and indicates the ID of the triggering message.
|
||||
Please select all actions that meet the usage requirements. Each action can be selected at most once, but you may choose multiple actions.
|
||||
Output the actions in JSON format, wrapped in ```json. If you output multiple JSON objects, each JSON object must appear on a separate line inside the same ```json code block:
|
||||
**Example**
|
||||
// Reason text (brief)
|
||||
```json
|
||||
{{"action":"动作名", "target_message_id":"m123", .....}}
|
||||
{{"action":"动作名", "target_message_id":"m456", .....}}
|
||||
```
|
||||
{{"action":"action name", "target_message_id":"m123", .....}}
|
||||
{{"action":"action name", "target_message_id":"m456", .....}}
|
||||
```
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
{knowledge_prompt}{tool_info_block}{extra_info_block}
|
||||
{expression_habits_block}{memory_retrieval}{jargon_explanation}
|
||||
|
||||
你正在和{sender_name}聊天,这是你们之前聊的内容:
|
||||
{time_block}
|
||||
{dialogue_prompt}
|
||||
|
||||
{reply_target_block}。
|
||||
{planner_reasoning}
|
||||
{identity}
|
||||
{chat_prompt}你正在和{sender_name}聊天,现在请你读读之前的聊天记录,然后给出日常且口语化的回复,平淡一些,
|
||||
尽量简短一些。{keywords_reaction_prompt}请注意把握聊天内容,不要回复的太有条理。
|
||||
{reply_style}
|
||||
请注意不要输出多余内容(包括前后缀,冒号和引号,括号,表情等),只输出回复内容。
|
||||
{moderation_prompt}不要输出多余内容(包括前后缀,冒号和引号,括号,表情包,at或 @等 )。
|
||||
@@ -1,14 +0,0 @@
|
||||
{knowledge_prompt}{tool_info_block}{extra_info_block}
|
||||
{expression_habits_block}{memory_retrieval}{jargon_explanation}
|
||||
|
||||
你正在和{sender_name}聊天,这是你们之前聊的内容:
|
||||
{time_block}
|
||||
{dialogue_prompt}
|
||||
|
||||
你现在想补充说明你刚刚自己的发言内容:{target},原因是{reason}
|
||||
请你根据聊天内容,组织一条新回复。注意,{target} 是刚刚你自己的发言,你要在这基础上进一步发言,请按照你自己的角度来继续进行回复。注意保持上下文的连贯性。
|
||||
{identity}
|
||||
{chat_prompt}尽量简短一些。{keywords_reaction_prompt}请注意把握聊天内容,不要回复的太有条理,可以有个性。
|
||||
{reply_style}
|
||||
请注意不要输出多余内容(包括前后缀,冒号和引号,括号,表情等),只输出回复内容。
|
||||
{moderation_prompt}不要输出多余内容(包括冒号和引号,括号,表情包,at或 @等 )。
|
||||
@@ -1,18 +0,0 @@
|
||||
{knowledge_prompt}{tool_info_block}{extra_info_block}
|
||||
{expression_habits_block}{memory_retrieval}{jargon_explanation}
|
||||
|
||||
你正在qq群里聊天,下面是群里正在聊的内容,其中包含聊天记录和聊天中的图片
|
||||
其中标注 {bot_name}(你) 的发言是你自己的发言,请注意区分:
|
||||
{time_block}
|
||||
{dialogue_prompt}
|
||||
|
||||
{reply_target_block}。
|
||||
{planner_reasoning}
|
||||
{identity}
|
||||
{chat_prompt}你正在群里聊天,现在请你读读之前的聊天记录,把握当前的话题,然后给出日常且简短的回复。
|
||||
最好一次对一个话题进行回复,免得啰嗦或者回复内容太乱。
|
||||
{keywords_reaction_prompt}
|
||||
请注意把握聊天内容。
|
||||
{reply_style}
|
||||
请注意不要输出多余内容(包括不必要的前后缀,冒号,括号,at或 @等 ),只输出发言内容就好。
|
||||
现在,你说:
|
||||
@@ -1,18 +0,0 @@
|
||||
{knowledge_prompt}{tool_info_block}{extra_info_block}
|
||||
{expression_habits_block}{memory_retrieval}{jargon_explanation}
|
||||
|
||||
你正在qq群里聊天,下面是群里正在聊的内容,其中包含聊天记录和聊天中的图片
|
||||
其中标注 {bot_name}(你) 的发言是你自己的发言,请注意区分:
|
||||
{time_block}
|
||||
{dialogue_prompt}
|
||||
|
||||
{reply_target_block}。
|
||||
{planner_reasoning}
|
||||
{identity}
|
||||
{chat_prompt}你正在群里聊天,现在请你读读之前的聊天记录,然后给出日常且口语化的回复,
|
||||
尽量简短一些。{keywords_reaction_prompt}
|
||||
请注意把握聊天内容,不要回复的太有条理。
|
||||
{reply_style}
|
||||
请注意不要输出多余内容(包括不必要的前后缀,冒号,括号,表情包,at或 @等 ),只输出发言内容就好。
|
||||
最好一次对一个话题进行回复,免得啰嗦或者回复内容太乱。
|
||||
现在,你说:
|
||||
@@ -1,11 +0,0 @@
|
||||
你是一个专门执行工具的助手。你的名字是{bot_name}。现在是{time_now}。
|
||||
群里正在进行的聊天内容:
|
||||
{chat_history}
|
||||
|
||||
现在,{sender}发送了内容:{target_message},你想要回复ta。
|
||||
请仔细分析聊天内容,考虑以下几点:
|
||||
1. 内容中是否包含需要查询信息的问题
|
||||
2. 是否有明确的工具使用指令
|
||||
你可以选择多个动作
|
||||
|
||||
If you need to use tools, please directly call the corresponding tool function. If you do not need to use any tool, simply output "No tool needed".
|
||||
Reference in New Issue
Block a user