An Open Source version of ChatGPT Code Interpreter
Reason this release was yanked:
Incorrect bundling
Project description
An open source implementation of OpenAI's ChatGPT Code interpreter.
Simply ask the OpenAI model to do something and it will generate & execute the code for you.
Read the blog post to find out more.
Installation
Open a terminal and run:
$ pip install gpt-code-ui
$ gptcode
User interface
Features
- File upload
- File download
- Context awareness (it can refer to your previous messages)
- Generate code
- Run code (Python kernel)
- Model switching (GPT-3.5 and GPT-4)
Misc.
Using .env for OpenAI key
You can put a .env in the working directory to load the OPENAI_API_KEY
environment variable.
Configurables
Set the API_PORT
, WEB_PORT
, SNAKEMQ_PORT
variables to override the defaults.
Set OPENAI_BASE_URL
to change the OpenAI API endpoint that's being used (note this environment variable includes the protocol https://...
).
Contributing
Please do and have a look at the contributions guide! This should be a community initiative. I'll try my best to be responsive.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gpt_code_ui-0.42.25-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5020ec2fdf07c9ecc05115813b0e655f4baa66e6cd9d7176d285df80af824cd4 |
|
MD5 | 45ead4ff7d2b53cc55e8f62cfe97a123 |
|
BLAKE2b-256 | 9f7eae20d4c5e4f0b6666f36959762b0708756211c7c73a05530c22dd8a732b3 |