我正在使用RASA
堆栈创建天气机器人。我正在尝试访问NLU Trainer GUI
但遇到错误。它说即使我创建了一个 JSON 文件,它也找不到训练文件。它存储在 - 中Desktop/weather_bot/data
。我还使用成功安装了 nlu 训练器
sudo npm i -g rasa-nlu-trainer
但是当我尝试使用 rasa-nlu-trainer 访问 GUI 时,出现以下错误
Desktop/weather_bot/data/data.json
searching for the training examples...
(node:31971) UnhandledPromiseRejectionWarning: Error: Can't find training file, please try to specify it with the --source option
at checkDone (/usr/local/lib/node_modules/rasa-nlu-trainer/server.js:98:15)
at readData.then.catch.then (/usr/local/lib/node_modules/rasa-nlu-trainer/server.js:128:11)
at <anonymous>
(node:31971) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:31971) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
\