Skip to content

zyond26/Rasa_chatbot

Repository files navigation

Chatbot hỗ trợ tuyển sinh cho đại học

Mở đầu

  • 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.

Những phần cần phải cài đặt

python
pycharm
rasa
underthesea
ngrok
django
....

Cài đặt thiết lập

  1. Cài đặt python phiên bản >= 3.7 (https://www.python.org/downloads/release/python-370/) (gợi ý là nên dùng version 3.8.0)
  2. Cài đặt pycharm (https://www.jetbrains.com/pycharm/download/#section=windows)
  3. Cài đặt rasa bằng pip install rasa trong Terminal
  4. Khởi tạo rasa bằng rasa init trong Terminal
  5. Cài đặt underthesea bằng pip install underthesea trong Terminal
  6. Cài đặt django bằng pip install django trong Terminal
  7. Cài đặt ngrok (https://ngrok.com/download)

Cách chạy project này ở máy

  1. bạn hãy git clone git này về : " https://github.com/zyond26/Rasa_chatbot.git "

  2. rasa train

  3. 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 chương trình trên web local

  • chạy rasa run -enable-api --cors "*" trong Terminal
  • sau đó mở file main.html và test chatbot

About

Đây là dự án cho môn trí tuệ nhân tạo - chatbot cho cmc uni

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages