Replies: 1 comment
-
If we're talking about a simple chatbot, you can use the @nlpjs library with the brain.js neural network. create a class to initialize the brain.js model
The process return the intent with the score.
you can create some express api to run the process inside the brain-trainer
If you don't have the model.json trained the class will train based of this file and export that.
The amazing @nlpjs/ner can extract informations form text. Hope this helps you, from here you can test and explore this amazing class combined to nlpjs. |
Beta Was this translation helpful? Give feedback.
-
How can I create a training model for a chat bot?
There are for example questions and answers for the user. How to train the model so that it can answer questions and the answers to one question can be different?
Beta Was this translation helpful? Give feedback.
All reactions