That fixed the issue I was having! Thank you for your help!
I do have one other question! I am currently using a custom entity extraction component where the component is in the same working directory as the config file and called
However, when the project is being deployed, the logs show an exception where the module cannot be found.
This is the error that is logged:
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/rasa/nlu/registry.py", line 121, in get_component_class
File "/opt/venv/lib/python3.8/site-packages/rasa/shared/utils/common.py", line 37, in class_from_module_path
m = importlib.import_module(module_name)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'communication_preference'
When I train on my local machine, the module is found and everything works great, but when deployed using Helm, this issue pops up. I’m assuming the module isn’t being added to the PATH but I am not sure how to go about doing this.