Version: 2.2.x

rasa.shared.nlu.training_data.formats.markdown

MarkdownReader Objects

class MarkdownReader(TrainingDataReader)

Reads markdown training data and creates a TrainingData object.

__init__

| __init__(ignore_deprecation_warning: bool = False) -> None

Creates reader. See parent class docstring for more information.

reads

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

Read markdown string and create TrainingData object.

MarkdownWriter Objects

class MarkdownWriter(TrainingDataWriter)

Converts NLU data to Markdown.

__init__

| __init__(ignore_deprecation_warning: bool = False) -> None

Creates writer.

Arguments:

  • ignore_deprecation_warning - True if deprecation warning for Markdown format should be suppressed.

dumps

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

Transforms a TrainingData object into a markdown string.