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

Function tool_yaml

verl/agentic_workflow/main.py:61–64  ·  view source on GitHub ↗
(task_description,tool_yaml)

Source from the content-addressed store, hash-verified

59 return instruction_yaml
60
61def tool_yaml(task_description,tool_yaml):
62 prompt = f"Please understand the {task_description} task and write the yaml file to generate a tool yaml for {task_description} according to the {tool_yaml} tool yaml as an example."
63 tool_yaml = query(prompt)
64 return tool_yaml
65
66def interaction_yaml(task_description,interaction_yaml):
67 prompt = f"Please understand the {task_description} task and write the yaml file to generate a interaction yaml for {task_description} according to the {interaction_yaml} interaction yaml as an example."

Callers 1

main.pyFile · 0.85

Calls 1

queryFunction · 0.90

Tested by

no test coverage detected