Skip to content

An open source implementation of OpenAI's ChatGPT Code interpreter

License

Notifications You must be signed in to change notification settings

id-2/gpt-code-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPT-Code logo

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

GPT-Code logo

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.

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.

About

An open source implementation of OpenAI's ChatGPT Code interpreter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 52.4%
  • TypeScript 33.0%
  • CSS 8.9%
  • Makefile 2.3%
  • Shell 1.6%
  • JavaScript 0.9%
  • HTML 0.9%