/flaskGPT

A customizable GPT-3.5/4 chat application built with Flask and plain HTML, CSS, and JavaScript

Primary LanguageCSSMozilla Public License 2.0MPL-2.0

flaskGPT

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

Screenshot of App

Features

  • 📝 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.