notice

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

Version: Master/Unreleased

rasa.shared.nlu.training_data.loading

load_data

load_data(resource_name: Text, language: Optional[Text] = "en") -> "TrainingData"

Load training data from disk.

Merges them if loaded from disk and multiple files are found.

guess_format

guess_format(filename: Text) -> Text

Applies heuristics to guess the data format of a file.

Arguments:

  • filename - file whose type should be guessed

Returns:

Guessed file format.