Python Runtime: A secure Python runtime with all dangerous functionality removed (such as accessing the network,
directories outside of the specified, etc.)
Libraries: Comes with a set of libraries such as numpy, pandas, scipy, matplotlib, and more.
File Input: Ability to pass arbitrary file types along with the code to run against it.
File Output: Files can be created and provided back to the user.
STDIN/STDOUT Capture: Ability to show the user any outputs of the programs executed.
Graph Rendering: The Onyx Chat UI
is able to render returned graphs and other visualization for the user.
The Code Interpreter does not need to be invoked explicitly,
the LLM will determine when to use it depending on the user query.It can also be attached to custom Agents, giving the LLM the option to use it as needed.