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

Function case_function

verl/agentic_workflow/main.py:11–14  ·  view source on GitHub ↗
(task_description, case_generator)

Source from the content-addressed store, hash-verified

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."
13 case = query(prompt)
14 return case
15
16def prompt_function(case, prompt_function):
17 prompt = f"Please understand the {case} case and write the python code to generate a prompt for {case} according to the {prompt_function} prompt function as an example."

Callers 1

main.pyFile · 0.85

Calls 1

queryFunction · 0.90

Tested by

no test coverage detected