ricklamers / gpt-code-ui
- понедельник, 22 мая 2023 г. в 00:00:02
An open source implementation of OpenAI's ChatGPT Code interpreter
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.
Open a terminal and run:
$ pip install gpt-code-ui
$ gptcode
You can put a .env in the working directory to load the OPENAI_API_KEY
environment variable.
Set the API_PORT
and WEB_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://...
).
Please do and have a look at the contributions guide! This should be a community initiative. I'll try my best to be responsive.