GuglielmoTor commited on
Commit
181745e
·
verified ·
1 Parent(s): 8ff80e1

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. Create 1-3 OKR objects based on the input text.
107
- 2. For each OKR, create 1-3 KeyResult objects (This is MANDATORY).
108
- 3. For each KeyResult, create 1-3 Task objects (This is MANDATORY).
109
- 4. Tasks must be specific, actionable, and directly derived from the input text.
110
- 5. Do not repeat text.
111
- 6. Ensure the final output is a complete JSON object.
 
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
  ---