Version: 3.x

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