| 4 | from agentic_workflow.utils import parse_python_code, parse_yaml_code |
| 5 | import argparse |
| 6 | def task_generator(task): |
| 7 | prompt = f"Please understand the {task} task and generate a task description for {task}." |
| 8 | task_description = query(prompt) |
| 9 | return task_description |
| 10 | |
| 11 | def case_function(task_description, case_generator): |
| 12 | prompt = f"Please understand the {task_description} task and write the python code to generate a case for {task_description} according to the {case_generator} case generator as an example." |