首页 > 解决方案 > rasa.core.processor - 运行操作时遇到异常

问题描述

Rasa,我在 rasa 中收到以下错误:

rasa.core.processor  - Encountered an exception while running action 'action_get_summary'. Bot will continue, but the actions events are lost. Make sure to fix the exception in your custom code.

标签: pythonpython-3.xrasa-nlurasa-corerasa

解决方案


在阅读了我后来 -vv在命令中用作开关时得到的错误消息后,我自己修复了它。
然后通过在命令中指定--endpoints endpointsswitch 来运行自定义操作。

所以现在,我在 2 个单独的终端中运行了 2 个命令:

rasa interactive -vv --endpoints endpoints.yml   
rasa run -vv --endpoints endpoints actions

推荐阅读