Skip to contents

Helper function to format messages in markdown

Usage

format_message_md(role, content)

Arguments

role

Character string specifying the role (User/Assistant/System)

content

Character string containing the message content

Value

Character string formatted as markdown