notice
This is unreleased documentation for Rasa Open Source Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).
rasa.nlu.persistor
get_persistor
Returns an instance of the requested persistor.
Currently, aws
, gcs
, azure
and providing module paths are supported remote
storages.
Persistor Objects
Store models in cloud and fetch them when needed.
persist
Uploads a model persisted in the target_dir
to cloud storage.
retrieve
Downloads a model that has been persisted to cloud storage.
AWSPersistor Objects
Store models on S3.
Fetches them when needed, instead of storing them on the local disk.
GCSPersistor Objects
Store models on Google Cloud Storage.
Fetches them when needed, instead of storing them on the local disk.
__init__
Initialise class with client and bucket.
AzurePersistor Objects
Store models on Azure