Function
tool_yaml
(task_description,tool_yaml)
Source from the content-addressed store, hash-verified
| 59 | return instruction_yaml |
| 60 | |
| 61 | def 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 | |
| 66 | def 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." |
Tested by
no test coverage detected