Projects
View on GitHub
logankilpatrick/ChatGPT-Simple
About
Build a simple locally hosted version of ChatGPT in less than 100 lines of code
AI & Machine LearningMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalChatGPT-Simple
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!
Getting started
To run the example code, you need to create an OpenAI API key
- Install requirments using
$ pip install -r requirements.txt
- Create a .env file and paste your API key there
OPENAI_API_KEY = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx
- Run the code and Enjoy
$ python server.py
The best part
This code was written by GPT-4 : )
Explore related projects
Loading…