notice
This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).
rasa.nlu.utils.mitie_utils
MitieModel Objects
Wraps MitieNLP
output to make it fingerprintable.
__init__
Initializing MitieModel.
fingerprint
Fingerprints the model path.
Use a static fingerprint as we assume this only changes if the file path changes and want to avoid investigating the model in greater detail for now.
Returns:
Fingerprint for model.
MitieNLP Objects
Component which provides the common configuration and loaded model to others.
This is used to avoid loading the Mitie model multiple times. Instead the Mitie model is only loaded once and then shared by depending components.
get_default_config
Returns default config (see parent class for full docstring).
__init__
Constructs a new language model from the MITIE framework.
required_packages
Lists required dependencies (see parent class for full docstring).
create
Creates component (see parent class for full docstring).
provide
Provides loaded MitieModel
and path during training and inference.