Training a model is time consuming, to avoid delay during the startup in a production environment use the NLP.js Save node to store the model generated by NLPjs Train .

Train model

Train model

Use the NLPjs Load to load the model when the flow starts.