notice

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

Version: 2.0.x

rasa.shared.nlu.training_data.formats.rasa

RasaReader Objects

class RasaReader(JsonTrainingDataReader)

read_from_json

| read_from_json(js: Dict[Text, Any], **_) -> "TrainingData"

Loads training data stored in the rasa NLU data format.

RasaWriter Objects

class RasaWriter(TrainingDataWriter)

dumps

| dumps(training_data: "TrainingData", **kwargs) -> Text

Writes Training Data to a string in json format.