KrishnaHuYaar commited on
Commit
7d741de
·
verified ·
1 Parent(s): 8f39f9e

Update prompt.py

Browse files
Files changed (1) hide show
  1. prompt.py +14 -7
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
- From the text below, generate:
7
 
8
- 1. Short summary
9
- 2. Actionable tasks (bullet points)
10
- 3. 3 follow-up questions
 
 
 
 
 
 
 
 
 
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
  """)