Rasa study notes (four): training model method refinement

Add intent and corresponding training samples in nlu.yml.

Add a response method for the corresponding intent in rules.yml.

Add the corresponding intention and answer method in domain.yml. If you only modify domain.yml, the speed will be very fast during retraining, prompting Core stories/configuration did not change. Only the templates section has been changed. A new model with the updated templates will be created.

About retraining the model

Relevant information

https://www.it1352.com/2168663.html

2021-02-23

To date, the most recent Github issue on the topic states there is no way to retrain a model adding just the new utterances. Same for previous issues cited therein.

You're right: having to retrain periodically with increasingly long files gets more and more time-consuming. Although, retraining in place is not a good idea in production.

Saving model all the time (with a timestamp) is good because it makes rollbacks easier (and they will happen in production systems). I th

Guess you like

Origin blog.csdn.net/dragon_T1985/article/details/114651042