cd ~/qa
git clone https://github.com/Conchylicultor/DeepQA.git
cd DeepQA
python3 -m nltk.downloader punkt
pip3 install django channels Redis asgi_redis
install redis-server
pip3 install tensorflow
pip3 install tqdm
python3 main.py
#the trained model is in DeepQA/save/model,
#we should copy it to DeepQA/save/model-server so that we can talk with chatbot in web interface.
cp -r save/model/* save/model-server
Web interface:
export CHATBOT_SECRET_KEY=”my-secret-key”
cd chatbot_website/
python3 manage.py makemigrations
python3 manage.py migrate
cd chatbot_website/
redis-server &
python3 manage.py runserver
firefox: http://localhost:8000/