/Streamlit-ChatGPT-Style

Minimal example of a OpenAI chat clone written in Streamlit with SOTA features.

Primary LanguagePythonMIT LicenseMIT

Streamlit-ChatGPT-Style

Example of a ChatGPT clone written in Streamlit. Similar conversation UI to openai's chat or Whatsapp.

Features:

  1. Sticky top headers. Sticky on Bing and Chrome but scrolls up and off on FireFox.
  2. Sticky bottom chat input prompt.
  3. Scrollable conversation area. Scroll movement as up like OpenAI's Chat and WhatsApo.
  4. Uses streamlit-chat style chat conversation UI (as opposed to streamlit's chat api).
  5. Calls chatgpt using streaming and non-steaming api.
  6. Button to clear chat and return focus to bottom input prompt.
  7. Button to programmatically append user and assistant content to conversation.
  8. Integrates a (fake) placeholder for requesting userid or performing authentication.

Unsupported.