-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Description
Is your feature request related to a problem? Please describe.
The create_tool_from_function
is very useful as well as the tool
decorator for not requiring users to have to specify description
and parameters
when converting a function into a tool.
However, when working from a yaml file (like in dC) it's not easy to use either of these conveniences.
Describe the solution you'd like
So I was wondering if we could update Tool
to optionally require description
and parameters
and if they are missing we use the logic in create_tool_from_function
to auto fill the parameters and description.
Describe alternatives you've considered
Leave as is and require users in Pipeline Studio to have to specify description and parameters when using Tool.
Additional context
What do you think @anakin87 since you've worked on this a lot?