Yijia-Plaud commited on
Commit
6587027
·
verified ·
1 Parent(s): 97e6c25

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +43 -2
prompts.py CHANGED
@@ -34,7 +34,27 @@ Meeting Transcript (from SRT file):
34
  Suggested Summary Template Structure:
35
  {template_structure}
36
 
37
- Generate the meeting summary following the suggested template structure.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  """
39
 
40
  SUMMARIZE_WITH_REFERENCE_TEMPLATE_PROMPT = """
@@ -49,5 +69,26 @@ Meeting Transcript (from SRT file):
49
  Reference Summary (use this for formatting guidance ONLY):
50
  {reference_summary_text}
51
 
52
- Generate a new meeting summary for the provided transcript, strictly adhering to the format and structure of the reference summary.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  """
 
34
  Suggested Summary Template Structure:
35
  {template_structure}
36
 
37
+ User's Manual Notes (关键词、关键数字、重要观点等):
38
+ {user_notes}
39
+
40
+ CRITICAL REQUIREMENTS - MUST BE FOLLOWED:
41
+ 1. Generate the meeting summary following the suggested template structure.
42
+ 2. **USER NOTES HANDLING**:
43
+ - If user notes contain actual content (not "无用户手动记录的笔记"), then you MUST include EVERY SINGLE ITEM from the user's manual notes in your summary. This is NON-NEGOTIABLE.
44
+ - If user notes are empty or contain "无用户手动记录的笔记", focus on creating a comprehensive summary from the transcript only.
45
+ 3. **HIGHLIGHTING REQUIREMENT** (ONLY when user notes exist): Use **bold formatting** (markdown **text**) to highlight ALL content that comes from the user's manual notes.
46
+ 4. **VERIFICATION STEP** (ONLY when user notes exist): After writing the summary, mentally check that every keyword, number, decision, and point from the user's manual notes appears in your summary and is properly highlighted.
47
+ 5. If the user's notes contain specific data points, numbers, or decisions, these MUST be prominently featured and **bolded** in the appropriate sections.
48
+ 6. When there is any conflict between the transcript and user's notes, ALWAYS prioritize the user's manual notes.
49
+ 7. **MANDATORY SECTION** (ONLY when user notes exist): If any user notes don't naturally fit into the template structure, create a dedicated "重点关注事项" (Key Focus Items) section at the end to ensure nothing is missed.
50
+
51
+ FORMATTING RULES (ONLY apply when user notes contain actual content):
52
+ - Use **bold** for all user note content
53
+ - Use **bold** for all numbers from user notes
54
+ - Use **bold** for all key decisions from user notes
55
+ - Use **bold** for all important keywords from user notes
56
+
57
+ Generate the meeting summary now. If user notes exist, ensure ZERO user note content is omitted and ALL is highlighted.
58
  """
59
 
60
  SUMMARIZE_WITH_REFERENCE_TEMPLATE_PROMPT = """
 
69
  Reference Summary (use this for formatting guidance ONLY):
70
  {reference_summary_text}
71
 
72
+ User's Manual Notes (关键词、关键数字、重要观点等):
73
+ {user_notes}
74
+
75
+ CRITICAL REQUIREMENTS - MUST BE FOLLOWED:
76
+ 1. Generate a new meeting summary for the provided transcript, strictly adhering to the format and structure of the reference summary.
77
+ 2. **USER NOTES HANDLING**:
78
+ - If user notes contain actual content (not "无用户手动记录的笔记"), then you MUST include EVERY SINGLE ITEM from the user's manual notes in your summary. This is NON-NEGOTIABLE.
79
+ - If user notes are empty or contain "无用户手动记录的笔记", focus on creating a comprehensive summary from the transcript only.
80
+ 3. **HIGHLIGHTING REQUIREMENT** (ONLY when user notes exist): Use **bold formatting** (markdown **text**) to highlight ALL content that comes from the user's manual notes.
81
+ 4. **VERIFICATION STEP** (ONLY when user notes exist): After writing the summary, mentally check that every keyword, number, decision, and point from the user's manual notes appears in your summary and is properly highlighted.
82
+ 5. If the user's notes contain specific data points, numbers, or decisions, these MUST be prominently featured and **bolded** in the appropriate sections.
83
+ 6. When there is any conflict between the transcript and user's notes, ALWAYS prioritize the user's manual notes.
84
+ 7. Follow the reference summary's structure but fill it with content from the transcript and emphasize the user's manual notes.
85
+ 8. **MANDATORY SECTION** (ONLY when user notes exist): If any user notes don't naturally fit into the reference template structure, create a dedicated "重点关注事项" (Key Focus Items) section at the end to ensure nothing is missed.
86
+
87
+ FORMATTING RULES (ONLY apply when user notes contain actual content):
88
+ - Use **bold** for all user note content
89
+ - Use **bold** for all numbers from user notes
90
+ - Use **bold** for all key decisions from user notes
91
+ - Use **bold** for all important keywords from user notes
92
+
93
+ Generate the meeting summary now. If user notes exist, ensure ZERO user note content is omitted and ALL is highlighted.
94
  """