Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,15 +49,16 @@ def generate_monthly_report(weekly_reports_files, last_month_report_file, llm_gp
|
|
49 |
prompt += f"{report}\n---\n"
|
50 |
|
51 |
prompt += """
|
52 |
-
|
53 |
-
我提供了多份週報,以及上次使用的月報。請根據這些資料進行以下任務:
|
54 |
|
55 |
-
1.
|
56 |
-
2.
|
57 |
-
3.
|
58 |
-
4.
|
59 |
|
60 |
-
|
|
|
|
|
61 |
"""
|
62 |
try:
|
63 |
response = llm_gpt4o.invoke([("system", "You are a professional assistant."), ("human", prompt)])
|
|
|
49 |
prompt += f"{report}\n---\n"
|
50 |
|
51 |
prompt += """
|
52 |
+
I will provide the weekly reports for the current month and the monthly report from the previous month. Based on these documents, please:
|
|
|
53 |
|
54 |
+
1. Describe the overall progress and updates of each project for the current month, organized chronologically like a narrative.
|
55 |
+
2. Summarize the completed work for each project in the same format as the previous month’s report.
|
56 |
+
3. Write the work plan for next month for each project, following the "next month plan" format used in the previous monthly report.
|
57 |
+
4. At the end of the report, compile a separate summary list that clearly states the action items for next month for each project.
|
58 |
|
59 |
+
⚠️ Please write the entire response in **Traditional Chinese**, using a formal and professional tone, and strictly follow the format of the previous month’s monthly report.
|
60 |
+
|
61 |
+
The source materials are the "current month weekly reports" and the "previous month monthly report" that I provided.
|
62 |
"""
|
63 |
try:
|
64 |
response = llm_gpt4o.invoke([("system", "You are a professional assistant."), ("human", prompt)])
|