FeaturedMobile
OnDeviceRAG – Android
An Android app that answers questions about imported PDFs using retrieval-augmented generation. After the initial model downloads, PDF processing, semantic search and answer generation all run on the device.
The Compose interface streams answers with page references. The app uses ONNX with multilingual-e5-small for embeddings, Room for local storage and LFM2-1.2B-RAG via the LEAP SDK for generation.
Technologies
KotlinJetpack ComposeRoomONNXLFM2