Skip to content

Markdown

MarkdownSetting #

MarkdownSetting(value: bool = True)

Bases: RapidataSetting

Enables limited markdown rendering for text datapoints. Useful when comparing formatted text like LLM outputs.

Parameters:

Name Type Description Default
value bool

Whether to enable markdown rendering. Defaults to True.

True
Source code in src/rapidata/rapidata_client/settings/markdown.py
def __init__(self, value: bool = True):
    if not isinstance(value, bool):
        raise ValueError("The value must be a boolean.")

    super().__init__(key="use_main_text_markdown", value=value)