MCPcopy Create free account
hub / github.com/InternLM/InternBootcamp / task_generator

Function task_generator

verl/agentic_workflow/main.py:6–9  ·  view source on GitHub ↗
(task)

Source from the content-addressed store, hash-verified

4from agentic_workflow.utils import parse_python_code, parse_yaml_code
5import argparse
6def 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
11def 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."

Callers 1

main.pyFile · 0.85

Calls 1

queryFunction · 0.90

Tested by

no test coverage detected