notice
This is documentation for Rasa & Rasa Pro 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.autoconfig
get_configuration
get_configuration(config_file_path: Optional[Text], training_type: Optional[TrainingType] = TrainingType.BOTH) -> Dict[Text, Any]
Determine configuration from a configuration file.
Keys that are provided and have a value in the file are kept. Keys that are not provided are configured automatically.
Arguments:
config_file_path
- The path to the configuration file.training_type
- NLU, CORE or BOTH depending on what is trained.