Gemma3n Local RAG
Offline Document Chat Assistant
Chat with your PDFs using a fully local AI stack — zero cloud, zero data leaks
github.com/sidx007/Gemma3n-Local-Rag
Offline Document Chat Assistant
Chat with your PDFs using a fully local AI stack — zero cloud, zero data leaks
github.com/sidx007/Gemma3n-Local-Rag
A fully offline RAG (Retrieval-Augmented Generation) app. You drop PDFs in, it chunks them, creates FAISS vector embeddings, and lets you ask questions in plain English — answered using a local GGUF model via llama.cpp with real-time streaming. Nothing leaves your machine.
Organize documents into named projects. Each project gets its own vector store. Filter by category, search by name, delete when done.
800-char chunks with 100-char overlap. Tunable. HuggingFace embeddings with optional Gemini metadata enrichment for better retrieval quality.
llama.cpp runs GGUF models (Q4/Q5 quantized). 4-8 GB RAM needed depending on model size. Streaming token-by-token responses via Flask.
Glassmorphism dark/light theme. Responsive for desktop and mobile. Vanilla JS + Flask — no heavy frontend framework.
📥 Ingestion Pipeline
💬 Query Pipeline
Privacy Guarantees
Quick Start
Requires Python 3.8+. Works on Windows, Linux, macOS. Use Q4/Q5 quantized models for best performance on CPU.