notice

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

Version: 2.6.x

rasa.shared.importers.multi_project

MultiProjectImporter Objects

class MultiProjectImporter(TrainingDataImporter)

training_paths

| training_paths() -> Set[Text]

Returns the paths which should be searched for training data.

is_imported

| is_imported(path: Text) -> bool

Checks whether a path is imported by a skill.

Arguments:

  • path - File or directory path which should be checked.

Returns:

True if path is imported by a skill, False if not.

get_domain

| async get_domain() -> Domain

Retrieves model domain (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_config

| async get_config() -> Dict

Retrieves model config (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).