How to setup and run locally on Ubuntu 20.04, Python 3.8.5 pre-installed
-
Install requirements
pip3 install -r requirements.txt
-
Install Java, Tesseract, PyTorch, language pipeline of spacy
sudo apt-get install default-jre
sudo apt-get install tesseract-ocr
pip3 install torch==1.8.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
python3 -m spacy download en_core_web_md
-
Go to
lib/python3.8/site-packages/rasa/core/channels/console.py
and changeDEFAULT_STREAM_READING_TIMEOUT_IN_SECONDS
to 50 -
Train model
rasa train
-
Start 2 terminals
- One for running action server
rasa run actions
- One for chatting
rasa shell
- One for running action server