Build a simple locally hosted version of ChatGPT in less than 100 lines of code. Note: This is an unofficial ChatGPT repo and is not associated with OpenAI in anyway!
To run the example code, you need to create an OpenAI API key and then run python server.py
.
This code was written by GPT-4 : )