notice

This is unreleased documentation for Rasa Documentation Main/Unreleased version.
For the latest released documentation, see the latest version (3.x).

Version: Main/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.