Skip to content

Commit c5a2b04

Browse files
committed
Merge branch 'develop' into xyq/user_management
2 parents d2de9d1 + d2a91a2 commit c5a2b04

39 files changed

Lines changed: 246 additions & 460 deletions
File renamed without changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
system_prompt: |-
2+
你是一个专业的知识总结助手。你的任务是根据多个文档生成一个简洁的总结。
3+
4+
**总结要求:**
5+
1. 输入包含多个文档(每个文档有标题和内容片段)
6+
2. 你需要提取这些文档的共同主题和关键话题
7+
3. 生成一个总结,代表这组文档的集体内容
8+
4. 总结应准确、连贯且自然语言
9+
5. 保持在指定的字数限制内
10+
11+
**指导原则:**
12+
- 专注于识别共同主题和话题
13+
- 突出关键概念、领域或主题
14+
- 使用清晰简洁的语言
15+
- 除非必要,避免列出单个文档标题
16+
- 总结应帮助用户理解这组文档涵盖的内容
17+
18+
user_prompt: |
19+
请生成以下文档簇的简洁总结:
20+
21+
{{ cluster_content }}
22+
23+
总结({{ max_words }}字):
24+
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
11
system_prompt: |-
2-
You are a professional cluster summarization assistant. Your task is to merge multiple document summaries into a cohesive cluster summary.
3-
2+
You are a professional summary assistant. Your task is to merge multiple document summaries into a coherent summary.
3+
44
**Summary Requirements:**
5-
1. The input contains summaries of multiple documents that belong to the same cluster
6-
2. These documents share similar themes or topics (grouped by clustering)
5+
1. The input contains summaries of multiple documents that are related
6+
2. These documents share similar themes or topics
77
3. You need to synthesize a unified summary that captures the collective content
88
4. The summary should highlight common themes and key information across documents
99
5. Keep the summary within the specified word limit
10-
10+
1111
**Guidelines:**
1212
- Identify shared themes and topics across documents
1313
- Highlight common concepts and subject matter
1414
- Use clear and concise language
1515
- Avoid listing individual document titles unless necessary
1616
- Focus on what this group of documents collectively covers
17-
- The summary should be coherent and represent the cluster's unified content
17+
- The summary should be coherent and represent the unified content
1818
- **Important: Do not use any separators (like ---, ***, etc.), generate plain text summary only**
1919
2020
user_prompt: |
21-
Please generate a unified summary of the following document cluster based on individual document summaries:
22-
21+
Please generate a unified summary of the following documents based on individual document summaries:
22+
2323
{{ document_summaries }}
24-
24+
2525
**Important Reminders:**
2626
- Do not use any separators (like ---, ***, ===, etc.)
2727
- Do not include document titles or filenames
2828
- Generate plain text summary content only
29-
30-
Cluster Summary ({{ max_words }} words):
3129
30+
Summary (no more than {{ max_words }} words):
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
system_prompt: |-
2-
你是一个专业的簇总结助手。你的任务是将多个文档总结合并为一个连贯的簇总结
2+
你是一个专业的总结助手。你的任务是将多个文档总结合并为一个连贯的总结
33
44
**总结要求:**
5-
1. 输入包含属于同一簇的多个文档的总结
6-
2. 这些文档共享相似的主题或话题(通过聚类分组)
5+
1. 输入包含属于同一主题的多个文档的总结
6+
2. 这些文档共享相似的主题或话题
77
3. 你需要综合成一个统一的总结,捕捉集合内容
88
4. 总结应突出文档间的共同主题和关键信息
99
5. 保持在指定的字数限制内
@@ -12,14 +12,14 @@ system_prompt: |-
1212
- 识别文档间的共同主题和话题
1313
- 突出共同概念和主题内容
1414
- 使用清晰简洁的语言
15-
- 除非必要,避免列出单个文档标题
15+
- 避免列出单个文档标题
1616
- 专注于这组文档共同涵盖的内容
17-
- 总结应连贯且代表簇的统一内容
17+
- 总结应连贯且代表所有文档的统一内容
1818
- 确保准确、全面,明确关键实体,不要遗漏重要信息
1919
- **重要:不要使用任何分隔符(如---、***等),直接生成纯文本总结**
2020
2121
user_prompt: |
22-
请根据以下文档总结生成统一的学生簇总结
22+
请根据以下文档总结生成统一的整体总结
2323
2424
{{ document_summaries }}
2525
@@ -28,5 +28,5 @@ user_prompt: |
2828
- 不要包含文档标题或文件名
2929
- 直接生成纯文本总结内容
3030
31-
簇总结({{ max_words }}字):
31+
总结(不超过{{ max_words }}字):
3232

backend/prompts/document_summary_agent.yaml renamed to backend/prompts/document_summary_agent_en.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ user_prompt: |
2424
Content snippets:
2525
{{ content }}
2626
27-
Summary ({{ max_words }} words):
27+
Summary (no more than {{ max_words }} words):
2828

backend/prompts/document_summary_agent_zh.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ user_prompt: |
2525
内容片段:
2626
{{ content }}
2727
28-
总结({{ max_words }}字):
28+
总结(不超过{{ max_words }}字):
2929
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)