Coding01

Coding 点滴

0%

Rasa 开篇之 hello world

接下来结合工作,输出 Rasa 的使用系列文章。

Build contextual assistants that really help customers

Rasa is the standard infrastructure layer for developers to build, improve, and deploy better AI assistants. Powered by open source.

1
2
3
4
5
// 安装 rasa
pip3 install rasa

// 初始化一个项目
rasa init

nlu.md 增加:

1
2
3
## intent:hello
- 你好
- 你好吗

stories.md 增加:

1
2
3
## say hello
* hello
- utter_hello

domain.yml intents 增加 - hello,同样的在 responses 回复里,增加对输入「hello」意图的回答:

1
2
utter_hello:
- text: "我很好"

初体验:

也内置 5005 端口访问:

Welcome to my other publishing channels