

π¦ ai that works: Generative UIs and Structured Streaming
βπ¦ ai that works
βA weekly conversation about how we can all get the most juice out of todays models with @hellovai & @dexhorthy
βOn this week's AI That Works, we'll explore hard problems in building rich UIs that rely on streaming data from LLMs.
βSpecifically, we'll talk through techniques for rendering **STRUCTURED** outputs from LLMs, with real-world examples of how to handle partially-streamed outputs over incomplete JSON data. We'll explore advanced needs like
βFields that should be required for stream to start
βRendering React Components with partial data
βHandling nullable fields vs. yet-to-be-streamed fields
βBuilding high-quality User feedback
βHandling errors mid-stream
βPre-reading
βTo prevent repeating the basics, we recommend you come in having already understanding some of the tooling we will be using:
βDiscord
βCursor or VS Code
βProgramming languages
βApplication Logic: Python or Typescript or Go
βPrompting: BAML (recommend video)
βMeet the Speaker π§βπ»
βββMeet Vaibhav Gupta, one of the creators of BAML and YC alum. He spent 10 years in AI performance optimization at places like Google, Microsoft, and D. E. Shaw. He loves diving deep and chatting about anything related to Gen AI and Computer Vision!Β
Meet Dex Horthy, founder at HumanLayer and coiner of the term Context Engineering. He spent 10+ years building devops tools at Replicated, Sprout Social and JPL. DevOps junkie turned AI Engineer.