diff --git a/changelog/6137.bugfix.rst b/changelog/6137.bugfix.rst new file mode 100644 index 000000000000..2403dd7ad485 --- /dev/null +++ b/changelog/6137.bugfix.rst @@ -0,0 +1 @@ +Fixed a bug where an invalid language variable prevents rasa from finding training examples when importing Dialogflow data. diff --git a/rasa/nlu/train.py b/rasa/nlu/train.py index 7466750a5bf1..33f30b023979 100644 --- a/rasa/nlu/train.py +++ b/rasa/nlu/train.py @@ -79,7 +79,7 @@ async def train( training_data_endpoint, nlu_config.language ) elif isinstance(data, TrainingDataImporter): - training_data = await data.get_nlu_data(nlu_config.data) + training_data = await data.get_nlu_data(nlu_config.language) else: training_data = load_data(data, nlu_config.language)