我正在尝试将Google Assistant Action连接到Botium Box或botium-cli。我遵循了Botium Connector for Google Assistant解释中的所有步骤。
当我尝试将生成的botium.json添加到Botium Box时,我收到以下错误消息。
Chatbot connection failed - Loading Botium plugin failed当我尝试在botium-cli中启动仿真器时,我得到这个错误
Error: Loading Botium plugin failed
at Validate.Validate.then (C:\Users\user\AppData\Roaming\npm\node_modules\botium-cli\node_modules\botium-core\src\containers\PluginConnectorContainer.js:59:15)botium.json如下所示
{
"botium": {
"Capabilities": {
"PROJECTNAME": "Botium Project Google Assistant",
"CONTAINERMODE": "google-assistant",
"GOOGLE_ASSISTANT_CLIENT_ID": "xxx",
"GOOGLE_ASSISTANT_CLIENT_SECRET": "xxx",
"GOOGLE_ASSISTANT_REFRESH_TOKEN": "xxx",
"GOOGLE_ASSISTANT_TYPE": "authorized_user",
"GOOGLE_ASSISTANT_START_UTTERANCE": "talk to xxx",
"GOOGLE_ASSISTANT_END_UTTERANCE": "Cancel"
}
}
}发布于 2019-03-14 00:30:45
错误消息指出Botium无法加载google assistant连接器模块。
google assistant连接器从1.1版本开始就是Botium Box的一部分,请参阅release notes。它是Botium CLI 0.0.46的一部分。
请验证您是否至少安装了这些版本。如果版本正常,请在详细模式下运行botium-cli (-- verbose )并附加日志输出。
https://stackoverflow.com/questions/55145534
复制相似问题