Teaching LLMs new UI tricks

If you ever used or built a chatbot, you know that LLMs love Markdown. But a lot of chat interfaces go beyond simple markdown and let models use rich UI elements. In this post I explain one way you can achieve this by teaching models to use custom HTML elements. And as a bonus, we’ll see how to wire those custom elements with LiveView!

3 Likes