Teaching LLMs new UI tricks
2026-06-30
![]()
ChatGPT's UI goes beyond simple Markdown by embedding custom UI elements (like product carousels) directly into LLM responses using special Unicode delimiters (U+E200, U+E202, U+E201) to frame JSON-structured component data. The author demonstrates building a similar system in Phoenix LiveView by streaming responses from the OpenAI API and parsing these delimited custom elements to render rich UI components alongside standard Markdown text. This approach allows LLMs to generate interactive, structured content rather than being limited to plain text formatting.
Was this useful?