gpt4 book ai didi

python-2.7 - RuntimeError:不再支持直接调用 `rasa.core.run`。请改用 `rasa shell`

转载 作者:行者123 更新时间:2023-12-02 19:59:03 24 4
gpt4 key购买 nike

当我尝试使用docker运行rasa-nlu时,出现以下问题:

Attaching to chatbotstack_rasa_nlu_1
rasa_nlu_1 | Traceback (most recent call last):
rasa_nlu_1 | File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
rasa_nlu_1 | "__main__", mod_spec)
rasa_nlu_1 | File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
rasa_nlu_1 | exec(code, run_globals)
rasa_nlu_1 | File "/app/rasa/core/run.py", line 204, in <module>
rasa_nlu_1 | "Calling `rasa.core.run` directly is "
rasa_nlu_1 | RuntimeError: Calling `rasa.core.run` directly is no longer supported. Please use `rasa shell` instead.

我在下面指定了版本:

拉萨0.14.0a9 / app
拉萨插件0.5.9
拉萨核心0.13.7
拉萨核心SDK 0.12.2
拉萨诺0.14.6

最佳答案

Rasa 0.14.0a9当前是Alpha版本,新文档尚未发布。卸载rasa软件包并使用稳定版本rasa_core==0.13.7rasa_nlu==0.14.6或使用新的cli rasa shell

关于python-2.7 - RuntimeError:不再支持直接调用 `rasa.core.run`。请改用 `rasa shell`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55646769/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com