Simple chatbot with a flask web interface.
The chatbot leverages OpenAI API for user query comprehension complemented with RAG for up-to-date information retrieval.
Tools Used:
Download this github repository
Create a virtual environment
python -m venv venv
Activate the virtual environment
source venv/bin/activate or venv/Scripts/activate [for Windows]
Install the requirements ac pip install -r requirements.txt
pip install flask-mysqldb
Add your OpenAI API key in a .env file
On the terminal run the command below
python app.py
App should not be running on localhost default port
2 commits
CSS
84.4%
HTML
10.7%
Python
3.9%
Simple chatbot with a flask web interface.
The chatbot leverages OpenAI API for user query comprehension complemented with RAG for up-to-date information retrieval.
Tools Used:
Download this github repository
Create a virtual environment
python -m venv venv
Activate the virtual environment
source venv/bin/activate or venv/Scripts/activate [for Windows]
Install the requirements ac pip install -r requirements.txt
pip install flask-mysqldb
Add your OpenAI API key in a .env file
On the terminal run the command below
python app.py
App should not be running on localhost default port
2 commits
CSS
84.4%
HTML
10.7%
Python
3.9%