Skip to content

building a chinese dialogue system based on the newest version of rasa(基于最新版本rasa搭建的对话系统)

Notifications You must be signed in to change notification settings

GaoQ1/rasa_chatbot_cn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • python >= 3.6
pip install -r requirements.txt

下载依赖package

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 whatnovel omniparser sexting