
PrivateDoc is an offline, on-device document intelligence assistant designed for sensitive personal paperwork, running on a Samsung S25 Ultra phone powered by Qualcomm SnapDragon. It combines ML Kit OCR, ExecuTorch, MiniLM semantic retrieval, and an on-device Llama 3.2 1B LLM to scan, classify, index, and answer questions about prescriptions, contracts, bills, IDs, and other documents without requiring an Internet connection. A strict retrieval-augmented generation (RAG) pipeline ensures every response is grounded in retrieved OCR evidence, with supporting text highlighted on the original document to improve transparency and reduce hallucinations. By performing OCR, retrieval, and language generation entirely on the device, PrivateDoc preserves user privacy while delivering fast, reliable, and source-backed document understanding.
Category tags: