Overview
Code Interpreter example
Code Interpreter example
Example run where the LLM generates code to run data analysis on a business report.

- Performing larger calculations accurately
- Running data analysis on provided files
- Generating or modifying data/files
Features
- 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.