You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Look for time markers: tomorrow, next, Friday, specific times (10:30, 3pm, etc.)
69
-
70
-
Do NOT extract:
71
-
- Already completed activities (e.g., "I did X", "X was finished", "I went through X and it's done")
72
-
- General reflections about feelings or mood
73
-
- Past events with no follow-up needed
74
-
- Vague intentions without actionable steps
75
-
76
-
Format: Return ONLY a numbered list of tasks, one per line.
77
-
Example:
78
-
1. Pick up rental car at 10:30 AM
79
-
2. Prepare talking points for Patrick meeting at 3:05 PM
80
-
3. Moderate Pamela's stream
81
-
4. Review deck changes before stream
82
-
83
-
If no actionable tasks are found, return: NO_TASKS"""
84
-
85
-
user_prompt=f"""Analyze this diary entry from [[{diary_date}]] and extract actionable tasks for today:
86
-
87
-
{diary_entry_content}
88
-
89
-
Extract specific, actionable tasks that should be done today. Return as a numbered list or NO_TASKS if none found."""
52
+
system_prompt="""you are an expert task extractor. Given a diary entry from the prior day, identify specific, actionable tasks that the user should complete today. Focus on clear, concise tasks that can be realistically accomplished within a day. If no tasks are found, respond with NO_TASKS."""
53
+
current_date=date.today().isoformat()
54
+
user_prompt=f"""Today is {current_date}. You are about to analyze a diary entry from [[{diary_date}]].
55
+
Here is the content of that diary entry: {diary_entry_content}
56
+
Extract specific, actionable tasks that should be done today. Return as a numbered list or NO_TASKS if none found."""
0 commit comments