A tutorial on building cloud and hybrid AI features in Android apps using Firebase AI Logic SDK. Covers three practical implementations in the Jetpacker sample app: a museum assistant chatbot using Google Search and URL grounding, a restaurant review generator using hybrid inference (Gemini Nano on-device with cloud fallback), and a hotel support chat with custom routing logic for multilingual translation. Also covers securing cloud AI calls with Firebase App Check using Play Integrity.
Table of contents
Use LLM grounding for up-to-date informationMuseum assistant chatbot with LLM groundingHybrid inference: On-device review generation with Maps deep linkCustom hybrid routing: Hotel support chat translation with simulated personasSecuring the AI Pipelines: Firebase App CheckConclusionLearn more215 Impressions