So You Want to Build AI on Netlify
summary
Built a streaming AI chatbot that uses AI chatbot streaming text from Netlify functions, an Astro + React frontend, and OpenAI/DALL·E 3 for image generation; initial bot is stateless until conversation sessions are stored in Netlify Blob Storage using session cookies and store.get/store.set.json to preserve context. Development uses Cursor agents plus the new Netlify context file to reduce bad code generation and enforce function signatures. The image generator works after prompt routing fixes (it first returned raw URLs); contextual sessions reliably keep identity and history.
AI-written summary · about
