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