rasa.core.config

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.

load #

Definition:
load(config_file: Union[Text, Dict])-> List["Policy"]

Load policy data stored in the specified file.

migrate_fallback_policies #

Definition:
migrate_fallback_policies(config: Dict)-> Tuple[Dict, Optional["StoryStep"]]

Migrate the deprecated fallback policies to their RulePolicy counterpart.

Arguments:

Returns: The updated configuration and the required fallback rules.

migrate_mapping_policy_to_rules #

Definition:
migrate_mapping_policy_to_rules(config: Dict[Text, Any], domain:"Domain")-> Tuple[Dict[Text, Any],"Domain", List["StoryStep"]]

Migrate MappingPolicy to its RulePolicy counterparts.

This migration will update the config, domain and generate the required rules.

Arguments:

Returns: The updated model configuration, the domain without trigger intents, and the generated rules.