Ordering Coffee with AI
summary
A mobile coffee app (Drinkit) faced overwhelming customization options and replaced many clicks with an AI interface that interprets vague user requests (e.g., “I want something refreshing”) to propose a drink and customizations. The talk explains integrating this AI assistant into the app using Firebase AI Logic, why production systems need function-calling and agent loops rather than a single big prompt, and how they reduced context size from storing the entire menu JSON to an architecture that fits cost and latency constraints. It also covers token- and cost-saving techniques (data decomposition via functions, compression and field mapping, logging/cost control), lessons from failures and compromises made for a fast launch, and an alternative implementation using Koog when Firebase AI is unavailable.
AI-written summary · about
