notice

This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).

Version: Main/Unreleased

rasa.shared.importers.rasa

RasaFileImporter Objects

class RasaFileImporter(TrainingDataImporter)

Default TrainingFileImporter implementation.

get_config

def get_config() -> Dict

Retrieves model config (see parent class for full docstring).

get_config_file_for_auto_config

@rasa.shared.utils.common.cached_method
def get_config_file_for_auto_config() -> Optional[Text]

Returns config file path for auto-config only if there is a single one.

get_stories

def get_stories(exclusion_percentage: Optional[int] = None) -> StoryGraph

Retrieves training stories / rules (see parent class for full docstring).

get_conversation_tests

def get_conversation_tests() -> StoryGraph

Retrieves conversation test stories (see parent class for full docstring).

get_nlu_data

def get_nlu_data(language: Optional[Text] = "en") -> TrainingData

Retrieves NLU training data (see parent class for full docstring).

get_domain

def get_domain() -> Domain

Retrieves model domain (see parent class for full docstring).