- Rasa实战:构建开源对话机器人
- 孔晓泉 王冠
- 138字
- 2025-02-17 18:30:51
2.6.2 从命令行测试
为了能够直接试用模型,Rasa提供了能让命令行和模型交互的命令。

这将开启rasa shell,我们可以在rasa shell中和模型进行基于文本的交互。在有多个模型的情况下(也就是models目录下有多个模型文件),会选择最新的一个模型载入并使用。
如果想自行指定模型,则可以使用如下命令。

下面是rasa shell的使用界面。


为了能够直接试用模型,Rasa提供了能让命令行和模型交互的命令。
这将开启rasa shell,我们可以在rasa shell中和模型进行基于文本的交互。在有多个模型的情况下(也就是models目录下有多个模型文件),会选择最新的一个模型载入并使用。
如果想自行指定模型,则可以使用如下命令。
下面是rasa shell的使用界面。