A simple client-side chatbot using any OpenAI model you want.
This is intended to be built on top of and developed further as you see fit. At least for now.
- Uses GPT-3.5-Turbo, but can be changed to any other model OpenAI offers
- Has a simple day/night mode toggle
- Trash can clears chat history
- Save icon saves your visible chat history as a Markdown (.md) file
- Clone repo or download as zip
- Update line 9 in app.py to read api_key.txt instead of my_api_key.txt
- Paste your API key generated from here, in api_key.txt, save and close file.
- Install dependencies
- Flask with pip install Flask
- jsonify with pip install jsonify
- Run app.py
- Navigate to http://127.0.0.1:5000 in your browser