I am getting error once i run botonic train
Describe the bug I have created a new blank botonic project, i tried to enable nlu as per the instruction
-
In the bot directory, enter npm install @botonic/plugin-nlu.
-
Create two types of intents, i.e. two text files called chitchat.txt and help.txt in src/nlu/utterances/en containing utterances related to an intent. You must create at least two files to make the NLU plugin work.
-
Enter the content of your choice in both files. In our example, we are going to add content to the help.txt file. Make sure to add a line break between each intent.
src/nlu/utterances/en/help.txt 4. Open src/docs/plugins.js and add @botonic/plugin-nlu into your plugins array.
- Run botonic train. This will generate a prediction model based on the added examples.
I am getting the error
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] train:ner: ts-node src/nlp/tasks/ner/train.ts
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] train:ner script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above