I would like to gather all training examples into a list. Currently, I have
from rasa.shared.nlu.training_data.training_data import TrainingData training_data = TrainingData() training_examples = training_data.training_examples
but this returns an empty list since no arguments are passed to the TrainingData constructor, defaulting to None. I’m not sure what arguments I should pass in order to get the NLU file’s contents, or if this is even the right way to go about doing this.