Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

streamlit-openai-chatbot

Fluent and easy-to-use chatbot web app. Built with Streamlit, Extra-Streamlit-Components and Openai.

Update

  • Aug 17, 2023: implemented mutiple chat messages management, including switching, downloading and deletion
  • Aug 12, 2023: added masked input field for api token, configurable expire date for cookies

Quick Start

  1. clone this repo, install dependencies with pip install -r requiremnents.txt
  2. execute streamlit run Chat.py
  3. configure api token and other auth info
  4. enjoy chatting

Features

  • fully implemeted chatting history
  • single-round-dialogue-wise hyperparamters configuration1
  • Managing multiple profiles by Add/Select/Update/Delete them
  • cookies-enabled profile memorization23

Screenshots

  • Chat page image
  • configuring hyperparameters4 image
  • configuring profiles
Profiles

Potential Malfunctions

  1. Profile deleting sometimes may not response in time, if so, try deleting it again.
  2. Profiles stored in cookies will be initialized only after Chat page is opened for once.

Footnotes

  1. Up to today, supported hyperparameters includes temperature and top_p

  2. This app does not store or upload user messages by any means on purpose. Cookies are stored only on your local device.

  3. The current expiring duration is set to 5 days. You can modify it in config.yaml

  4. Screenshot was taken before 8.17 update, hence no multiple chat management shown in the sidebar

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages