class_docstr: Provides NLU training data during training.
docstr: Provides nlu training data during training.
docstr_tok: ["Provides","nlu","training","data","during","training","."]
code: def provide(self, importer: TrainingDataImporter) -> TrainingData:
      """Provides nlu training data during training."""
      if "language" in self._config:
          training_data = importer.get_nlu_data(
              language=self._config["language"]
          )
      else:
          training_data = importer.get_nlu_data()
      if self._config["persist"]:
          self._persist(training_data)
      return training_data
  
file_path: rasa/rasa/graph_components/providers/nlu_training_data_provider.py
imports: from __future__ import annotations
  from typing import Dict, Text, Any
  from rasa.engine.graph import GraphComponent, ExecutionContext
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.shared.importers.importer import TrainingDataImporter
  from rasa.shared.nlu.training_data.training_data import TrainingData, DEFAULT_TRAINING_DATA_OUTPUT_PATH
label_desc: Use image node_id 5 for calling the NLUTrainingDataProvider obj's underlying member method code with example usage: obj.provide(importer) and returns: training_data