我正在尝试在Rasa中添加一个自定义组件。在编写自定义组件之后,当我尝试训练我的模型时,我得到了以下错误:
ModuleNotFoundError: No module named 'RasaCustomPy'
和
Exception: Failed to find component class for 'RasaCustomPy.my_module.MyCustomComponent'. Unknown component name. Check your configured pipeline and make sure the mentioned com
Rasa论坛说rasa x 1.1支持rasa 3.x,但是当我尝试在使用rasa 3.1训练的模型上运行rasa x时,它会给我带来错误。
UserWarning: Your version of rasa '3.1.0' is currently not supported by Rasa X. Running `rasa x` CLI command with rasa version higher or equal to 3.0.0 will result in errors.
和
The model was trained with Rasa version 3.1.
我正在尝试在Windows10上运行聊天机器人。我使用的Python版本是Python 3.6.6。我使用pip3 install rasa_core安装了rasa-core,并完成了安装。
但每次我运行我的代码时,我都会得到ImportError: No module named rasa_core.policies.keras_policy.
下面是导入库:
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __f
我从使用rasa构建一个聊天机器人开始。我遵循了rasa documentation的安装指南 我已经使用以下命令安装了rasa pip install rasa 我可以使用import rasa导入rasa,rasa.__version__会给我一个输出1.10.0,但是当我尝试导入rasa-nlu时,我得到了ModuleNotFoundError: No module named 'rasa_nlu'错误。我正在windows上工作,并看到一些建议,即安装windows也需要Visual Studio安装程序。有人能帮我解释为什么需要visual studio安装程序吗?
在使用rasa安装pipenv时:
pipenv install --pre rasa
所有设备都已安装,创建了一些错误的依赖项,但使用pipenv lock --pre --clear进行了修复。
但是,当尝试在终端安装后使用rasa命令时,它不工作-> rasa -h => rasa' is not recognized as the name of a cmdlet.
如何将rasa与pipenv结合使用?
此外,在检查pipfile.locl时,会安装错误的版本。
为什么rasa="*"安装这个版本错误?!
我正在尝试在我的macbook上运行以下命令,在一个虚拟环境中...
pip3 install rasa
但是当我跑的时候我得到了
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting rasa
Could not fetch URL https://pypi.python.org/simple/rasa/: There was a problem confirming the ssl certificate:
from rasa_nlu.training_data import load_data
from rasa_nlu.model import Trainer
from rasa_nlu import config
// can't find these modules
from rasa_nlu.converters import load_data
from rasa_nlu.config import RasaNLUConfig 我安装了包含所有需求的rasa_starter教程,然后尝试如上所述导入依赖项。从上面的两个例子可以看出,有些导入是成功的,有些是失败的。
我是相对较新的Traefik /数字海洋设置,所以我不确定发生了什么,但我已经看到,当查看我的网站时,它有时会显示SSL证书过期。果然,我们在Digital Ocean上使用了2台服务器的负载均衡器。我假设其中一个服务器没有更新,让我们加密证书,但不确定如何解决这个问题。我没有看到任何用于更新这些证书的cronjob设置。它能在数字海洋这一边处理吗? 我在使用负载均衡器的两台服务器的traefik.toml中看到了以下设置: # Acme setting are used for letsencrypt to get the wildcard cert.
[acme]
email =