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.multi_project
MultiProjectImporter Objects
class MultiProjectImporter(TrainingDataImporter)
get_config_file_for_auto_config
def get_config_file_for_auto_config() -> Optional[Text]
Returns config file path for auto-config only if there is a single one.
training_paths
def training_paths() -> Set[Text]
Returns the paths which should be searched for training data.
is_imported
def 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
def get_domain() -> Domain
Retrieves model domain (see parent class for full docstring).
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_config
def get_config() -> Dict
Retrieves model config (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).