Persist model to cloud storage after training

Hello! I try to use cloud storage for models. When I use existing model from storage it’s OK, but when I train a new model using /model/train endpoint it seems not to call persist() method of .rasa/nlu/persistor.py

How can I achieve that? How should I train model to make that method called?

Hi @ezhvsalate Which cloud storage are you trying to ues?

@Juste I’m trying to implement my own - rasa-openstack-persistor/OpenStackPersistor.py at master · Ezhvsalate/rasa-openstack-persistor · GitHub

See feature discussion here: Openstack Swift object storage for models · Issue #6407 · RasaHQ/rasa · GitHub

I implemented required methods and downloading models from object store works fine, but I can’t make it upload new model when training it with api call. Looking at the code I realized that it doesn’t (or I didn’t find the exact place where it does :wink:) so trying to look for help here.