更多的prompt独立

This commit is contained in:
UnCLAS-Prommer
2026-01-21 18:18:52 +08:00
parent 761e4c8940
commit 21bca6b030
8 changed files with 114 additions and 84 deletions

View File

@@ -0,0 +1 @@
你正在qq群里聊天下面是群里正在聊的内容:

View File

@@ -0,0 +1 @@
正在群里聊天

View File

@@ -0,0 +1 @@
你正在和{sender_name}聊天,这是你们之前聊的内容:

View File

@@ -0,0 +1 @@
和{sender_name}聊天

View File

@@ -0,0 +1,16 @@
{expression_habits_block}
{chat_target}
{chat_info}
{identity}
你正在{chat_target_2},{reply_target_block}
现在请你对这句内容进行改写,请你参考上述内容进行改写,原句是:{raw_reply}
原因是:{reason}
现在请你将这条具体内容改写成一条适合在群聊中发送的回复消息。
你需要使用合适的语法和句法,参考聊天内容,组织一条日常且口语化的回复。请你修改你想表达的原句,符合你的表达风格和语言习惯
{reply_style}
你可以完全重组回复,保留最基本的表达含义就好,但重组后保持语意通顺。
{keywords_reaction_prompt}
{moderation_prompt}
不要输出多余内容(包括冒号和引号表情包emoji,at或 @等 ),只输出一条回复就好。不要思考的太长。
改写后的回复:

View File

@@ -0,0 +1,10 @@
你是一个专门获取知识的助手。你的名字是{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".