Spaces:
Running
Running
Update features/insight_and_tasks/agents/task_extraction_model_groq.py
Browse files
features/insight_and_tasks/agents/task_extraction_model_groq.py
CHANGED
@@ -103,12 +103,13 @@ CURRENT CONTEXTUAL INFORMATION:
|
|
103 |
- Use this exact string for the 'current_quarter_info' field: 'Q{quarter} {year}, {days_remaining} days remaining'.
|
104 |
|
105 |
GENERATION RULES:
|
106 |
-
1.
|
107 |
-
2. For each OKR,
|
108 |
-
3. For each KeyResult,
|
109 |
-
4.
|
110 |
-
5.
|
111 |
-
6.
|
|
|
112 |
|
113 |
Now, analyze the following text and generate the structured JSON output:
|
114 |
---
|
|
|
103 |
- Use this exact string for the 'current_quarter_info' field: 'Q{quarter} {year}, {days_remaining} days remaining'.
|
104 |
|
105 |
GENERATION RULES:
|
106 |
+
1. Your primary goal is to identify every distinct, high-level strategic objective from the input text. For each and every distinct objective you find, you must create a corresponding OKR object.
|
107 |
+
2. For each OKR, extract all relevant Key Results. Key Results must be measurable outcomes.
|
108 |
+
3. For each KeyResult, extract all specific and actionable Tasks that are directly derived from the input text.
|
109 |
+
4. Considering the days remaining in the quarter, prioritize tasks with the highest immediate impact where possible.
|
110 |
+
5. Tasks must be specific, actionable, and directly derived from the input text.
|
111 |
+
6. Do not create redundant or repetitive content.
|
112 |
+
7. Ensure the final output is a complete JSON object.
|
113 |
|
114 |
Now, analyze the following text and generate the structured JSON output:
|
115 |
---
|