flaskGPT a customizable, open source GPT-3.5/4 chat app built with Flask and OpenAI's API. It implements several features essential to providing an excellent user experience, with a simple frontend UI built with HTML, CSS, and JavaScript
- 📝 Full conversation history functionality
- 🤖 Chat with the GPT-3.5 & GPT-4 models
- 🧰 Change system message in realtime from UI
- 💬 Real-time response character streaming functionality
- 🧩 Markdown support in both user and assistant messages
- 🎨 Syntax highligting for code blocks with automatic language detection
- ⚙️ Automatic scrolling with new messages, cancellable by scrolling up
Created a FastAPI version of this app
The FastAPI version calls the OpenAI API asynchronously using OpenAI's native asynchronous support.