notice

This is unreleased documentation for Rasa Open Source Documentation Master/Unreleased version.
For the latest released documentation, see the latest version (2.x).

Version: Master/Unreleased

rasa.nlu.convert

convert_training_data

def 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.