nlp.js icon indicating copy to clipboard operation
nlp.js copied to clipboard

swap .tsv files using the qna module to swap conversations on live bot?

Open ninjamoba opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. We are finding training a already trained nlp.js bot appears to be additive rather than destructive - is this confirmed? we are attempting to swap .tsv files using the qna module to swap conversations

Describe the solution you'd like If it is additive is there an existing method to reset corpus without restarting the nlp.js session from an index,js ?

Describe alternatives you've considered we've tried deleting model.nlp prior to attempting to retrain - but the training persists and the introduction of new .tsv appear to add additional entries to the corpus rather than replacing it.

How to initialize a running trained bot/nlp.js instance?

ninjamoba avatar Sep 24 '21 22:09 ninjamoba

Working the same problem. The question is how to reinitialise the nlp.js object when loaded via dock. I am considering referencing the src file directly, so that I can create a new instance of nlp rather than loading via dock, but there must be a way of re invoking the constructor even if loaded from dock

TheGer avatar Sep 25 '21 04:09 TheGer