aboutsummaryrefslogtreecommitdiffstats
path: root/snips_inference_agl/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'snips_inference_agl/__init__.py')
-rw-r--r--snips_inference_agl/__init__.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/snips_inference_agl/__init__.py b/snips_inference_agl/__init__.py
new file mode 100644
index 0000000..fe05b12
--- /dev/null
+++ b/snips_inference_agl/__init__.py
@@ -0,0 +1,15 @@
+from deprecation import deprecated
+
+from snips_inference_agl.__about__ import __model_version__, __version__
+from snips_inference_agl.nlu_engine import SnipsNLUEngine
+from snips_inference_agl.pipeline.configs import NLUEngineConfig
+
+
+@deprecated(deprecated_in="0.19.7", removed_in="0.21.0",
+ current_version=__version__,
+ details="Loading resources in the client code is no longer "
+ "required")
+def load_resources(name, required_resources=None):
+ from snips_inference_agl.resources import load_resources as _load_resources
+
+ return _load_resources(name, required_resources)