~/talk

RAG (Retrieval Augmented Generation) with Mobile Application

Talkat DroidKaigi 2024 · 2024-09-11..09-13· [large-language-models]
links:none on file
slides:none on file

Builds a 100% native Android (Jetpack Compose) RAG app that uses OpenAI/Gemini APIs and Orama embeddings with Chroma on the server and migrates retrieval and generation on device using ONNX runtime and objectbox on-device vector DB. Shows quantized 4‑bit models ≈4GB as feasible versus ~60GB originals, reports LangChain-for-J reduces code by ~48%, and observes on-device inference works but is slow on midrange phones (needs ~10+ tokens/sec for good UX), so migration succeeds with clear performance and model‑size tradeoffs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Artificial Intelligence
  3. 4:21Fine Tuning
  4. 5:15quation
  5. 6:55what is RAG
  6. 7:20why RAG
  7. 8:29RAG Example
  8. 8:48Development Process
  9. 10:57Embedding
  10. 12:25Implementation
  11. 18:23Process
  12. 26:23Security and Privacy
  13. 34:41Language Model
  14. 36:34Conclusion
~/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.