About GPT-Code UI
This project is an open source implementation of the ChatGPT Code Interpreter idea. You ask an OpenAI model to do something, and it generates Python code and executes it for you in a local Python kernel, returning results in a simple web interface.
It is aimed at developers and data users who want a self hosted code interpreter instead of a hosted one. Features include file upload and download, context awareness so it can refer to earlier messages, code generation, code execution, and switching between GPT 3.5 and GPT 4 models. Installation is a pip install of the package followed by running the gptcode command. You supply your own OpenAI API key, which can be placed in an environment file, and settings such as ports and the OpenAI base URL can be overridden. The repository also includes an example configuration for Azure OpenAI. For data tasks the maintainer recommends installing common libraries such as pandas, numpy and matplotlib in the same Python environment.
The code is released under the MIT license and is free to use. There is no hosted plan, so the only cost is the usage billed by your model provider on your own API key. Note that the repository documents GPT 3.5 and GPT 4 and may not reflect newer models.