Is the series free?+
Yes. Every episode is free on the Simplified Coding YouTube channel. You do not need an account to watch.
What is on-device RAG?+
On-Device RAG is a way to answer questions from your own documents with a model that runs on the phone. The app searches the documents first, then the model writes the answer from what the search found.
Do I need machine learning experience?+
No. You need Android and Kotlin experience. The AI ideas are explained from an Android engineer's point of view, and Compose screens, navigation and dependency injection are not taught.
Will we build a complete app?+
The series follows a complete working app and focuses on the RAG and AI parts. The code is on GitHub and is updated episode by episode.
Does it work without the internet?+
Yes, once the model files are on the device and your documents are indexed. Speed and quality depend on the phone.
How do you run Gemma on Android?+
This series uses LiteRT LM. Episode 2 starts Gemma 4 on the phone, streams the reply and keeps the conversation going. It also explains where llama.cpp can still be the better pick.
What is EmbeddingGemma used for?+
It turns text into vectors, so the app can search by meaning instead of exact words. Episode 3 uses it for semantic search on the phone, with cosine similarity and Top K.
How do you chunk a PDF for RAG?+
Extract and clean the text, then split it into pieces with some overlap, so no fact falls between two chunks. Episode 4 does this on a real PDF and fixes what breaks at the boundaries.
What is hybrid search in RAG?+
Hybrid search mixes two rankings: semantic search, which matches meaning, and BM25, which matches exact words. Episode 5 merges them with Reciprocal Rank Fusion in Kotlin, so a test name or error code is not lost.
How many episodes are there, and when is the next one?+
5 are live. Each new episode is added to this page when it is published. No fixed schedule is promised.