- Trong phần này tôi sẽ mô tả từng bước cài đặt môi trường cho mã nguồn mở Rasa.
python
pycharm
rasa
underthesea
ngrok
django
....
- Cài đặt
pythonphiên bản >= 3.7 (https://www.python.org/downloads/release/python-370/) (gợi ý là nên dùng version 3.8.0) - Cài đặt
pycharm(https://www.jetbrains.com/pycharm/download/#section=windows) - Cài đặt
rasabằngpip install rasatrong Terminal - Khởi tạo
rasabằngrasa inittrong Terminal - Cài đặt
undertheseabằngpip install undertheseatrong Terminal - Cài đặt
djangobằngpip install djangotrong Terminal - Cài đặt
ngrok(https://ngrok.com/download)
-
bạn hãy git clone git này về : " https://github.com/zyond26/Rasa_chatbot.git "
-
rasa train -
rasa shell- nếu muốn kiểm tra xem có chạy đúng theo những gì mình đào tạo không thì gõ lệnh : rasa interactive
- chạy
rasa run -enable-api --cors "*"trong Terminal - sau đó mở file main.html và test chatbot