Spaces:
Running
Running
Update features/insight_and_tasks/agents/task_extraction_agent.py
Browse files
features/insight_and_tasks/agents/task_extraction_agent.py
CHANGED
@@ -98,11 +98,6 @@ class TaskExtractionAgent:
|
|
98 |
It is CRITICAL that you populate the 'key_results' list for every OKR, and the 'tasks' list for every KeyResult.
|
99 |
|
100 |
KEY GUIDELINES FOR QUALITY AND ACCURACY:
|
101 |
-
- Task Timelines: Must be realistic considering the {days_remaining} days left in Q{quarter}. Prioritize actions that can achieve significant progress or be completed within this timeframe.
|
102 |
-
- Task Types: Clearly distinguish between '{TaskType.INITIATIVE.value}' (new actions/projects) and '{TaskType.TRACKING.value}' (ongoing monitoring/measurement). Use 'task_type' values exclusively from: {task_types_str}.
|
103 |
-
- Data Subjects for Tracking: If 'task_type' is '{TaskType.TRACKING.value}', the 'data_subject' field is MANDATORY and must be one of: {data_subjects_str}. For '{TaskType.INITIATIVE.value}' tasks, 'data_subject' can be '{DataSubject.GENERAL.value}', null, or omitted if not specific to one data type.
|
104 |
-
- Rationale ('why_proposed'): This is CRUCIAL. Each task's 'why_proposed' field must provide a clear justification, explicitly linking the task back to specific findings, trends, or recommendations mentioned in the input 'comprehensive_analysis'. Avoid generic statements.
|
105 |
-
- Priority & Justification: Assign a 'priority' (from {priority_levels_str}) to each task and provide a concise 'priority_justification' explaining its importance.
|
106 |
- Actionability: All descriptions (Objective, Key Result, Task) must be clear, concise, and define concrete actions or measurable outcomes.
|
107 |
- Measurability: Key Results and Task 'success_criteria_metrics' must be specific and quantifiable.
|
108 |
- Completeness: Ensure all REQUIRED fields in every Pydantic model are present in your JSON output. Optional fields can be omitted or set to null if not applicable.
|
|
|
98 |
It is CRITICAL that you populate the 'key_results' list for every OKR, and the 'tasks' list for every KeyResult.
|
99 |
|
100 |
KEY GUIDELINES FOR QUALITY AND ACCURACY:
|
|
|
|
|
|
|
|
|
|
|
101 |
- Actionability: All descriptions (Objective, Key Result, Task) must be clear, concise, and define concrete actions or measurable outcomes.
|
102 |
- Measurability: Key Results and Task 'success_criteria_metrics' must be specific and quantifiable.
|
103 |
- Completeness: Ensure all REQUIRED fields in every Pydantic model are present in your JSON output. Optional fields can be omitted or set to null if not applicable.
|