Version: 2.x

rasa.nlu.training_data.formats.markdown_nlg

NLGMarkdownReader Objects

class NLGMarkdownReader(TrainingDataReader)

Reads markdown training data containing NLG stories and creates a TrainingData object.

reads

| reads(s: Text, **kwargs: Any) -> "TrainingData"

Read markdown string and create TrainingData object

NLGMarkdownWriter Objects

class NLGMarkdownWriter(TrainingDataWriter)

dumps

| dumps(training_data: "TrainingData") -> Text

Transforms the NlG part of TrainingData object into a markdown string.