Version: 2.x

rasa.nlu.convert

convert_training_data

convert_training_data(data_file: Union[list, Text], out_file: Text, output_format: Text, language: Text) -> None

Convert training data.

Arguments:

  • data_file Union[list, Text] - Path to the file or directory containing Rasa data.
  • out_file Text - File or existing path where to save training data in Rasa format.
  • output_format Text - Output format the training data should be converted into.
  • language Text - Language of the data.