pref:优化webui界面,增加prompt模板元信息
This commit is contained in:
79
prompts/en-US/.meta.toml
Normal file
79
prompts/en-US/.meta.toml
Normal file
@@ -0,0 +1,79 @@
|
||||
[maisaka_chat]
|
||||
display_name = "Planner"
|
||||
advanced = false
|
||||
description = "Maisaka 主规划模板,负责整合身份、时间、工具说明和聊天上下文,驱动主循环进行思考、决策与工具调用。"
|
||||
|
||||
[maisaka_replyer]
|
||||
display_name = "Replyer"
|
||||
advanced = false
|
||||
description = "Maisaka 回复生成模板,负责根据人格、表达风格、群聊注意事项和待回复上下文生成最终回复。"
|
||||
|
||||
[default_expressor]
|
||||
display_name = "默认表达器"
|
||||
advanced = true
|
||||
description = "表达方式生成与整理相关模板,通常只在调试表达系统时需要修改。"
|
||||
|
||||
[emoji_content_analysis]
|
||||
display_name = "表情包内容分析"
|
||||
advanced = true
|
||||
description = "用于分析表情包图片内容的模板。"
|
||||
|
||||
[emoji_content_filtration]
|
||||
display_name = "表情包内容过滤"
|
||||
advanced = true
|
||||
description = "用于判断表情包内容是否符合过滤要求的模板。"
|
||||
|
||||
[emoji_replace]
|
||||
display_name = "表情包替换"
|
||||
advanced = true
|
||||
description = "用于根据文本语境选择或替换表情包的模板。"
|
||||
|
||||
[expression_evaluation]
|
||||
display_name = "表达评价"
|
||||
advanced = true
|
||||
description = "用于评价候选表达方式质量的模板。"
|
||||
|
||||
[expression_select]
|
||||
display_name = "表达选择"
|
||||
advanced = true
|
||||
description = "用于从表达库中选择合适表达方式的模板。"
|
||||
|
||||
[image_description]
|
||||
display_name = "图片描述"
|
||||
advanced = true
|
||||
description = "用于将图片内容转换为文本描述的模板。"
|
||||
|
||||
[jargon_compare_inference]
|
||||
display_name = "术语对比推理"
|
||||
advanced = true
|
||||
description = "用于比较和推理群内术语含义的模板。"
|
||||
|
||||
[jargon_explainer_summarize]
|
||||
display_name = "术语解释总结"
|
||||
advanced = true
|
||||
description = "用于总结术语解释结果的模板。"
|
||||
|
||||
[jargon_inference_content_only]
|
||||
display_name = "术语推理"
|
||||
advanced = true
|
||||
description = "用于仅基于内容推理术语含义的模板。"
|
||||
|
||||
[jargon_inference_with_context]
|
||||
display_name = "术语上下文推理"
|
||||
advanced = true
|
||||
description = "用于结合上下文推理术语含义的模板。"
|
||||
|
||||
[learn_style]
|
||||
display_name = "表达风格学习"
|
||||
advanced = true
|
||||
description = "用于从聊天内容中学习表达风格的模板。"
|
||||
|
||||
[maisaka_timing_gate]
|
||||
display_name = "Timing Gate"
|
||||
advanced = false
|
||||
description = "Maisaka 节奏控制模板,负责在每轮主循环前判断当前应该等待、停止,还是继续进入思考与回复流程。"
|
||||
|
||||
[memory_retrieval_react_prompt_head_memory]
|
||||
display_name = "记忆检索 ReAct 头部"
|
||||
advanced = true
|
||||
description = "ReAct 式记忆查询流程使用的高级记忆检索提示词头部。"
|
||||
@@ -1,5 +1,5 @@
|
||||
This is a sticker. Please review it according to the following criteria:
|
||||
1. It must meet the requirement of "{demand}"
|
||||
1. It must conform to public order and good morals
|
||||
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
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
[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]
|
||||
|
||||
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;
|
||||
|
||||
**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;
|
||||
|
||||
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",
|
||||
"message_indices": [1, 2, 5]
|
||||
}},
|
||||
...
|
||||
]
|
||||
@@ -1,22 +0,0 @@
|
||||
Please summarize the following chat record segment based on the topic and extract the following information:
|
||||
|
||||
**Topic**: {topic}
|
||||
|
||||
**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.
|
||||
|
||||
Please return in JSON format as follows:
|
||||
{{
|
||||
"keywords": ["keyword1", "keyword2", ...],
|
||||
"summary": "summary content"
|
||||
}}
|
||||
|
||||
Chat record:
|
||||
{original_text}
|
||||
|
||||
Please return JSON directly and do not include any other content.
|
||||
@@ -1,18 +0,0 @@
|
||||
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}
|
||||
|
||||
[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 +0,0 @@
|
||||
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}
|
||||
|
||||
[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 +0,0 @@
|
||||
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}
|
||||
|
||||
[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:
|
||||
Reference in New Issue
Block a user