notice

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

Version: 2.x

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

load_data_from_endpoint

async load_data_from_endpoint(data_endpoint: EndpointConfig, language: Optional[Text] = "en") -> "TrainingData"

Load training data from a URL.

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.