← Back to all tweets

Tweet by @maxleiter

View original on X

I wrote a bit about how we made v0 an effective coding agent - Dynamic system prompt - Our "LLM Suspense" framework for modifying streamed content on the fly - Our AutoFixer system for fixing various issues we've seen. A good example of how powerful the pipeline is is our icon fixer. We deterministically fix when the LLM hallucinates non-existent icons by: 1. Embedding every icon name in a vector database. 2. Analyze the exports from lucide-react at runtime. 3. Pass through the correct icon when its valid. 4. If the icon does not exist, run an embedding search to find the closest match. 5. Rewrite the import during streaming. https://t.co/vbQZUOLbgb

281
Reply