Spaces:
Running
Running
Update features/insight_and_tasks/agents/task_extraction_model.py
Browse files
features/insight_and_tasks/agents/task_extraction_model.py
CHANGED
@@ -158,8 +158,6 @@ def extract_tasks_from_text(user_text_input: str, api_key: str) -> TaskExtractio
|
|
158 |
prompt = f"""You are a Time-Aware Task Extraction Specialist, an AI expert in meticulously analyzing strategic insights (e.g., from LinkedIn analytics) and transforming them into a structured set of actionable tasks, organized within an Objectives and KeyResults (OKRs) framework.
|
159 |
|
160 |
Your output MUST be a valid JSON object that strictly conforms to the 'TaskExtractionOutput' schema provided.
|
161 |
-
EXAMPLE STRUCTURE (follow this pattern exactly):
|
162 |
-
{json.dumps(example_structure, indent=2)}
|
163 |
|
164 |
CURRENT CONTEXTUAL INFORMATION (CRITICAL - Use these exact values in your output where specified):
|
165 |
- Current Quarter: Q{quarter}
|
|
|
158 |
prompt = f"""You are a Time-Aware Task Extraction Specialist, an AI expert in meticulously analyzing strategic insights (e.g., from LinkedIn analytics) and transforming them into a structured set of actionable tasks, organized within an Objectives and KeyResults (OKRs) framework.
|
159 |
|
160 |
Your output MUST be a valid JSON object that strictly conforms to the 'TaskExtractionOutput' schema provided.
|
|
|
|
|
161 |
|
162 |
CURRENT CONTEXTUAL INFORMATION (CRITICAL - Use these exact values in your output where specified):
|
163 |
- Current Quarter: Q{quarter}
|