-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow CustomTool to work with files #63
Comments
How it could work:
So the custom tool could look like:
@Tomas2D Does this sound reasonable? Should we also try to implement file output, somehow? |
Perhaps I missed something, but what about reusing the |
@Tomas2D Yes, the files will work the same, but will additionally need some extra semantics due to how the users and the LLM expect them to work with regards to input and output of the custom tool. Plus there will be actually two types of files -- "dynamic" (passed in by the caller) and "static" (pre-determined by the tool creator -- many users requested this use-case). |
Also, I realized that instead of introducing our custom |
@Tomas2D can you enumerate some examples/use cases that this feature unlocks? cc: @jenna-winkler @sarahmilleribm |
Having file support in a custom tool unlocks a lot of features. |
@geneknit I'd say that there are three main groups of use cases, split by essentially three different features all falling under the "work with files" umbrella:
|
What is the current status? |
@Tomas2D It's going to be a easier to implement with the recent JSONSchema-related improvements in bee-code-interpreter, but no direct progress was made |
Is your feature request related to a problem? Please describe.
Python Code Interpreter (accessible through PythonTool in the framework) can work with files, whereas Custom Python Function (
CustomTool
) cannot.Describe the solution you'd like
Add the ability to a
CustomTool
to work files.The text was updated successfully, but these errors were encountered: