You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
Describe the bug
I use the nlp.js-app because it is a good interface to add entities, intents and slots. It's much easier than training it via the source code.
I add a manager.save() line in the server\trainers\nlpjs-process.js file so it exports the model as a model.nlp file when I train the model in the app. It's a stupid solution but the app doesn't allow exporting except in a .csv file that is totally incomplete.
Anyway, I want to use the model in my own chatbot application. For the frontend I am using vue-bot-ui
The user input is basically just fed into manager.process but upon boot the manager is of course trained with the exported model.
Please see the exact same conversation both in the app and then in my web application:
The slot filling doesn't work in my application. What you can see from the logs is that when I input "UPS" after the tracking number, you won't find the tracking number entity in the entities array. It won't remember the filled slot:
Describe the bug
I use the nlp.js-app because it is a good interface to add entities, intents and slots. It's much easier than training it via the source code.
I add a
manager.save()
line in the server\trainers\nlpjs-process.js file so it exports the model as a model.nlp file when I train the model in the app. It's a stupid solution but the app doesn't allow exporting except in a .csv file that is totally incomplete.Anyway, I want to use the model in my own chatbot application. For the frontend I am using vue-bot-ui
The user input is basically just fed into
manager.process
but upon boot the manager is of course trained with the exported model.Please see the exact same conversation both in the app and then in my web application:
The slot filling doesn't work in my application. What you can see from the logs is that when I input "UPS" after the tracking number, you won't find the tracking number entity in the
entities
array. It won't remember the filled slot:To Reproduce
Steps to reproduce the behavior:
manager.save()
line in the server\trainers\nlpjs-process.js fie to export the modelExpected behavior
The exported model should show the same result on my own application as much on the app
nlp-js version 3.10.2 used for both applications (nlp-js.app & my own)
The text was updated successfully, but these errors were encountered: