我试图运行rasa shell,但出现错误asyncio,以后从未检索到任务异常

当我运行rasa shell与chatbot交互时,我正在尝试使用rasa框架开发简单的chatbot,它显示此错误:

ERROR    asyncio  - Task exception was never retrieved
future: <Task finished coro=<RestInput.on_message_wrapper() done,defined at /home/oretes/anaconda3/lib/python3.7/site-packages/rasa/core/channels/channel.py:392> exception=ValueError('X.shape[1] = 256 should be equal to 128,the number of features at training time')>

ERROR    asyncio  - Task exception was never retrieved
future: <Task finished coro=<RestInput.on_message_wrapper() done,the number of features at training time')>

当我运行“ rasa train”命令时,我正在尝试使用rasa框架开发简单的聊天机器人,此后我运行“ rasa shell”与chatbot进行交互,显示此错误:ERROR任务异常从未发生检索到的未来。

我正在使用rasa框架

我正在尝试与chatbot进行正常对话,这就是为什么我运行“ rasa shell”命令,但是当我说“ hi”时却显示错误:ERROR以后从未检索到任务异常。

chc740903 回答:我试图运行rasa shell,但出现错误asyncio,以后从未检索到任务异常

根据rasa community forum,您可能需要安装以下模块,它在Windows 10上对我有效。

pipenv install google-auth==1.10.1 prompt-toolkit==2.0.10 questionary==1.4.0 SQLAlchemy==1.3.12 urllib3==1.25.7

pip install google-auth==1.10.1 prompt-toolkit==2.0.10 questionary==1.4.0 SQLAlchemy==1.3.12 urllib3==1.25.7
本文链接:https://www.f2er.com/3169190.html

大家都在问