Messages Format
About markdown and PlainText
Last updated
About markdown and PlainText
Last updated
By default when you send a message using the SDK, the UI shows it in plain text.
Plain text messages are great for chatting or sending messages that don't contain formatting to the user.
Sending plain text is the default behavior of the SDK, so you just have to run the following code:
Often, you may want your agent to return more than just a simple text. In that situation, you most likely want to use the markdown format.
Markdown is great for applying some styling, or to display a link, generating a table, displaying code snippet
, images, and more.
You can see a full markdown cheatsheet here.
Send indicate the interpreter you are sending text in Markdown, you just have to use the MARKDOWN
format option.