notice

This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.8.x).

Version: Master/Unreleased

rasa.graph_components.providers.nlu_training_data_provider

NLUTrainingDataProvider Objects

class NLUTrainingDataProvider(GraphComponent)

Provides NLU training data during training.

__init__

def __init__(config: Dict[Text, Any], model_storage: ModelStorage, resource: Resource) -> None

Creates a new NLU training data provider.

get_default_config

@classmethod
def get_default_config(cls) -> Dict[Text, Any]

Returns the default config for NLU training data provider.

create

@classmethod
def create(cls, config: Dict[Text, Any], model_storage: ModelStorage, resource: Resource, execution_context: ExecutionContext) -> NLUTrainingDataProvider

Creates a new NLU training data provider.

provide

def provide(importer: TrainingDataImporter) -> TrainingData

Provides nlu training data during training.