Chattabot GPT Solution
- Python 3.11
-
Clone this repo
-
Create virtual environment
python -m virtualenv venv source ./venv/bin/activate
-
Install dependencies
pip install -r requirements.txt
-
Create an
.env
file that looks likeOPENAI_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!"
-
Start the app using streamlit
streamlit run chatbot.py