Recording not yet published

Talk 30:00

Deterministic LLM UI Rendering in Phoenix LiveView

LLMs are excellent at text and unreliable at UI. This session shows how to extend Markdown into a deterministic UI contract in Phoenix LiveView by introducing custom blocks that represent interactive components not found in standard Markdown (suggestions, insight cards, charts). We’ll stream tokens (SSE), incrementally parse and validate blocks as they arrive, and render only a set of these custom components the moment each block becomes complete—progressively upgrading from plain Markdown to interactivity without flicker.