notice

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

Version: 2.0.x

rasa.shared.importers.autoconfig

get_configuration

get_configuration(config_file_path: 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.