notice

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

Version: 2.7.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.