Skip to content

amanlai/streamlit-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chattabot GPT

Chattabot GPT Solution

Prerequisite

  1. Python 3.11

Setup

  1. Clone this repo

  2. Create virtual environment

    python -m virtualenv venv
    source ./venv/bin/activate
  3. Install dependencies

    pip install -r requirements.txt
  4. Create an .env file that looks like

    OPENAI_API_KEY=YOUR_KEY_HERE
    VERBOSE=false
    SHOW_SOURCES=false
    SYSTEM_TEMPLATE="You are a helpful bot. If you do not know the answer, just say that you do not know, do not try to make up an answer."
    MESSAGE_PROMPT="Ask me anything!"

Running the App

  1. Start the app using streamlit

    streamlit run chatbot.py

Releases

No releases published

Packages

No packages published

Languages