Rasa学习笔记(三):终端交互

交互终端可以使用非cmd的形式,参见:Custom Connectors - https://rasa.com/docs/rasa/next/connectors/custom-connectors/

如果暂时只需要用cmd来进行交互,在需要读取命令执行结果时,避免在命令无法退出或进入交互模式的场景应用os.popen; os.popen()无法满足需求时,可以考虑subprocess.Popen()。不过这个方法也并不太容易,并且也非长久之计。


推荐阅读:

Create Chatbot using Rasa Part-1

https://towardsdatascience.com/create-chatbot-using-rasa-part-1-67f68e89ddad

文章亮点:介绍了可视化。

Build a simple ChatBot in Python with RASA — Part 2

https://medium.com/hackernoon/build-simple-chatbot-with-rasa-part-2-16726357b72c

文章亮点:介绍了在线训练。

Making of Chatbot using Rasa NLU & Rasa Core-Part 3

猜你喜欢

转载自blog.csdn.net/dragon_T1985/article/details/114520608