notice

This is documentation for Rasa Documentation v2.x, which is no longer actively maintained.
For up-to-date documentation, see the latest version (3.x).

Version: 2.x

rasa.shared.importers.rasa

RasaFileImporter Objects

class RasaFileImporter(TrainingDataImporter)

Default TrainingFileImporter implementation.

get_config

| async get_config() -> Dict

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

get_stories

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

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

get_conversation_tests

| async get_conversation_tests() -> StoryGraph

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

get_nlu_data

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

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

get_domain

| async get_domain() -> Domain

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