rasa.importers.importer

You are viewing documentation for our open source project which is maintained by the community. If you want to get started building assistants with Rasa please check out our latest documentation here.

TrainingDataImporter Objects

class TrainingDataImporter()

Common interface for different mechanisms to load training data.

get_domain

async get_domain() -> Domain

Retrieves the domain of the bot. Returns: Loaded Domain.

get_stories

async get_stories(template_variables: Optional[Dict]=None, use_e2e: bool=False, exclusion_percentage: Optional[int]=None) -> StoryGraph

Retrieves the stories that should be used for training. Arguments:

get_config

async get_config() -> Dict

Retrieves the configuration that should be used for the training. Returns: The configuration as dictionary.

get_nlu_data

async get_nlu_data(language: Optional[Text]=