Update agents/content_phase/keyword_agent.py
Browse files
agents/content_phase/keyword_agent.py
CHANGED
|
@@ -27,6 +27,8 @@ def query_task(query_agent):
|
|
| 27 |
description=(
|
| 28 |
"Read the course JSON structure and generate 3 diverse queries per subtopic arabic and english "
|
| 29 |
"Course json is: {course} Queries must be concise, specific, and relevant."
|
|
|
|
|
|
|
| 30 |
),
|
| 31 |
expected_output="A valid JSON following CourseWithQueries schema",
|
| 32 |
output_json=CourseWithQueries,
|
|
|
|
| 27 |
description=(
|
| 28 |
"Read the course JSON structure and generate 3 diverse queries per subtopic arabic and english "
|
| 29 |
"Course json is: {course} Queries must be concise, specific, and relevant."
|
| 30 |
+
"• Do NOT add explanations, comments, or text outside JSON.\n"
|
| 31 |
+
"• Output must be valid JSON only."
|
| 32 |
),
|
| 33 |
expected_output="A valid JSON following CourseWithQueries schema",
|
| 34 |
output_json=CourseWithQueries,
|