~/talk

Dinner for two with Gemini: takeaway or restaurant?

Talkat AndroidMakers by droidcon 2025 · on Thursday, 2025-04-10· at 10:15· [large-language-models, ai-assisted-development]
slides:none on file

Two small apps actually get built and demoed: one converts a takeaway photo into a recipe and shopping list using Gemini multimodal and cloud JSON schema output, the other searches saved Google Maps places (Data Portability API + Places API stored in Room) and ranks matches. Implementation uses Gemini cloud + Google AI SDK and a Gemma 3 on‑device 1B model (≈350 MB) via MediaPipe, plus Ktor REST token hacks. Results work but are hacky: structured output breaks, retries and hallucinations occur (recipes claiming kilograms of cucumber), and testing costs range from €355 total to sample calls of ~$0.06. JSON schema structured output

AI-written summary · about

  1. 0:00Welcome
  2. 1:03Saved lists problem
  3. 2:07Google AI SDK Android
  4. 3:33Fetching place details
  5. 4:18Designing prompts
  6. 5:02Prompt and data connection
  7. 6:07Lunch app demo
  8. 7:58Cloud LLM demo
  9. 9:03Image recipe generation
  10. 10:47On-device LLM Gemma 3
  11. 11:31Local LLM MediaPipe
  12. 13:17Recipe prompt engineering
  13. 14:43Cloud vs on-device
  14. 15:49Production vs experimental APIs
  15. 16:53Gemini Nano limits
  16. 17:35Downloading Gemma 3
  17. 18:38Privacy benefits
  18. 19:20Handling hallucinations
  19. 20:26Fine-tuning with LoRA
  20. 21:30Structured output solutions
  21. 22:53Structured generation deep dive
  22. 24:18Publishing to Play Store
  23. 25:02User testing next steps
  24. 25:45Cost and monetization
  25. 26:51Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.