
Mã nguồn C/C++ ứng dụng web chatbot đơn giản tích hợp với django
by Lữ Anh Đứcin C & C++ , Other on July 27, 2021Choose Your Desired Option(s)
Become a SourceCodec member for full access. Your first 7 days are free.
Mã nguồn C/C++ ứng dụng web chatbot đơn giản tích hợp với django
Yêu cầu hệ thống:
- Operating Systems: Linux (Ubuntu, CentOS), Mac
- Python 3.6+, Anaconda 4+
- Django==1.11.1

Mã nguồn C C++ ứng dụng web chatbot đơn giản tích hợp với django
Tạo môi trường mới và cài đặt các gói liên quan
cd chatbot
conda create -n chatbot python=3.6
source activate chatbot
pip install -r requirements.txt
conda create -n chatbot python=3.6
source activate chatbot
pip install -r requirements.txt
Chạy chương trình chatbot trên trình duyệt
Kích hoạt môi trường
$ cd chatbot
$ source chatbot-env.sh
$ source chatbot-env.sh
Lệnh chatbot đã sẵn sàng
$ chabot
Console script for chatbot
Options:
–help Show this message and exit.
Commands:
log Log handling
server Server handling
Bước 1: Bật chatscript server
chatbot server cs
Bước 2: Build chatbot
chatbot build
Bước 3: Bật web server
chatbot server web
Hoàn thành!!!
Sau đó, mở trình duyệt, vào đường dẫn http://127.0.0.1:8001 để bắt đầu chat với bot
Thử nghiệm chatbot trên terminal
Kích hoạt môi trường
$ cd chatbot
$ source chatbot-env.sh
$ source chatbot-env.sh
Chạy chatbot trên terminal
$ chatbot server cs-local
| Download Category | C & C++, Other |
| Product Homepage URL→ | |
| Product Version | |
| File Type | PY, SH, JSON, HTML , PDF, TXT |
| File Size | 143 MB |
| Developer | |
| Documentation |





