Function
tools_class
(task_description,tool_class)
Source from the content-addressed store, hash-verified
| 44 | return reward_class |
| 45 | |
| 46 | def tools_class(task_description,tool_class): |
| 47 | prompt = f"Please understand the {task_description} task and write the python code to generate a tools class for {task_description} according to the {tool_class} tools class as an example." |
| 48 | tools_class = query(prompt) |
| 49 | return tools_class |
| 50 | |
| 51 | def 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." |
Tested by
no test coverage detected