Я создаю погодного бота, используя стек RASA
. Я пытаюсь получить доступ к NLU Trainer GUI
, но получаю ошибку.Он говорит, что не может найти обучающий файл, даже если я создал файл JSON. Он хранится в - Desktop/weather_bot/data
. Я также успешно установил nlu trainer, используя
sudo npm i -g rasa-nlu-trainer
Но когда я пытаюсь получить доступ к GUI с помощью rasa-nlu-trainer, я получаю следующую ошибку
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.
\