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

Function interaction_class

verl/agentic_workflow/main.py:51–54  ·  view source on GitHub ↗
(task_description,interaction_class)

Source from the content-addressed store, hash-verified

49 return tools_class
50
51def interaction_class(task_description,interaction_class):
52 prompt = f"Please understand the {task_description} task and write the python code to generate a interaction class for {task_description} according to the {interaction_class} interaction class as an example."
53 interaction_class = query(prompt)
54 return interaction_class
55
56def instruction_yaml(task_description,instruction_yaml):
57 prompt = f"Please understand the {task_description} task and write the yaml file to generate a instruction yaml for {task_description} according to the {instruction_yaml} instruction yaml as an example."

Callers 2

main.pyFile · 0.85

Calls 1

queryFunction · 0.90

Tested by

no test coverage detected