Version: 3.x
rasa.shared.importers.autoconfig
TrainingType Objects
class TrainingType(Enum)
model_type
| @property
| model_type() -> Text
Returns the type of model which this training yields.
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.