Replies: 3 comments
-
hello, https://github.com/iamgreggarcia/codesherpa this also looks good. |
Beta Was this translation helpful? Give feedback.
-
Also relevant https://github.com/e2b-dev/code-interpreter |
Beta Was this translation helpful? Give feedback.
-
i've adapted my personal webui's function calling code in PR #2175. the code for the functions themselves is written in monaco (vscode's editor), inside of the user's browser, using typescript. the code runs in the user's browser, too. this adds ease for quickly writing a function, but also means interfacing with your local PC is harder. suggestions welcome!! |
Beta Was this translation helpful? Give feedback.
-
Function calling
I will be compiling together research notes and feature scope for the
function calling
feature on the roadmap.Feel free to reach out to provide feedback, suggestions on existing overlapping projects and ideas for technical solutions.
Related issues
#851
#1321
What is it?
LLMs are powerful but they need to be able to execute code to get answer to users questions.
Features
I will use the MoSCoW method to classify the features.
Must have
Should have
Could have
Won't have
Technical specification
@A-daily proposed leveraging open-interpreter. This has 47.5k stars at the time of writing this, 104 open issues, 718 closed, 100 contributors and is 99.2% python. The tool is a command line based application and python package installed and is easy to get up and running. However, this tool executes code on your own local machine. Therefore it is not a desired solution but they do have plans to expand to using Docker on their roadmap.
A basic prototype has been provided by @zabirauf here. Feedback on this prototype has requested the ability for the code execution to take place inside a safe isolated sandbox environment and should not compromise the host.
@zabirauf went on to suggest the use of Piston which allows for executing code in an isolated manner updated prototype can be found here. At the time of writing this it has 1.7k stars, 72 open issues and 216 closed. Languages JS:79.9%. It has a wide range of supported languages. Makes use of Docker for sandboxing, the code is written to a temporary directory and run or compiled/run. Finally some effort has been made into security considerations which can be found here.
References
https://github.com/OpenInterpreter/open-interpreter
https://platform.openai.com/docs/assistants/tools/code-interpreter/code-interpreter-beta
https://github.com/zabirauf/open-webui/pull/1/files
https://github.com/engineer-man/piston
Beta Was this translation helpful? Give feedback.
All reactions