GaoQ1 / rasa_chatbot_cn

building a chinese dialogue system based on the newest version of rasa(基于最新版本rasa搭建的对话系统)
960 stars 290 forks source link
bert chinese demo intent-classification policy python rasa rasa-chatbot rasa-core rasa-nlu rasa-nlu-gao rasa-x slot-filling tensorflow train-dialogue transformer

Rasa Core and Rasa NLU

rasa对话系统系列文章

Introduction

rasa版本已经更新到了2.0版本,改动比较大,等2.0版本稳定后再跟进了。现在这里的代码还是去年上半年的版本,后面rasa做了很多改动,component已经支持bert,对中文的支持也更好。所以这个之前基于1.1.x的版本就转到1.1.x分支,目前master分支的话就分享最新的基于1.10.18的一套支持中文的pipeline

欢迎加入rasa微信闲聊群,微信请加:coffee199029

Running by command

install packages

train model

make train

run model

make run

test in cmdline

make shell

可以在命令行中测试

test by http server

http://localhost:5005/webhooks/rest/webhook post请求,请求参数例如:

{
    "sender": "0001",
    "message": "你好"
}

可以使用postman去请求调用

use rasa x

make run-x

external link

liveportraitweb novelling