Spaces:
Sleeping
Sleeping
Update prompt.py
Browse files
prompt.py
CHANGED
|
@@ -1,16 +1,23 @@
|
|
| 1 |
from langchain_core.prompts import ChatPromptTemplate
|
| 2 |
|
| 3 |
task_prompt = ChatPromptTemplate.from_template("""
|
| 4 |
-
You are a productivity assistant.
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
| 9 |
-
2
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
Text:
|
| 13 |
{input_text}
|
| 14 |
-
|
| 15 |
-
Use clear headings.
|
| 16 |
""")
|
|
|
|
| 1 |
from langchain_core.prompts import ChatPromptTemplate
|
| 2 |
|
| 3 |
task_prompt = ChatPromptTemplate.from_template("""
|
| 4 |
+
You are a concise productivity assistant.
|
| 5 |
|
| 6 |
+
Analyze the text and respond in this EXACT format:
|
| 7 |
|
| 8 |
+
### ✅ Summary
|
| 9 |
+
(2 short sentences max)
|
| 10 |
+
|
| 11 |
+
### 📌 Actionable Tasks
|
| 12 |
+
- Task 1
|
| 13 |
+
- Task 2
|
| 14 |
+
- Task 3
|
| 15 |
+
|
| 16 |
+
### ❓ Follow-up Questions
|
| 17 |
+
- Question 1
|
| 18 |
+
- Question 2
|
| 19 |
+
- Question 3
|
| 20 |
|
| 21 |
Text:
|
| 22 |
{input_text}
|
|
|
|
|
|
|
| 23 |
""")
|