This is a post work of my retrieval-based-chatbot-with-Poly-Encoder project.
All the modules needed for the DB connection and backend api are organized.
It runs ok on my labtop with cpu(AMD 5500U).
I hope that someone finds this repo useful.
Send me a message if anyone has to ask about the project.
Poly-Encoder
retrieval-based-chatbot-with-Poly-Encoder
python download.py
Ubuntu 20.04.4 LTS on WSL
sudo apt install mysql-server
sudo service mysql start
sudo service mysql status
sudo mysql -u root -p
mysql> CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
mysql> GRANT ALL ON *.* TO 'user'@'localhost' WITH GRANT OPTION;
mysql> CREATE DATABASE chatbot;
python api.py