Local Knowledge Base

Two real, running apps that answer questions from your own documents — your files never leave your machine.

What this actually does for you

Point it at your own files — notes, PDFs, internal docs — and ask questions about them in plain language. It searches for the relevant parts and answers grounded in your actual content, not a guess. Everything can run fully offline: your documents never get uploaded anywhere.

The practical use case: anyone sitting on a folder of documents (research notes, contracts, product specs, a personal archive) who wants to ask questions instead of manually searching — without sending private material to a cloud service.

Two real implementations

PJ41 local knowledge chat app screenshot

PJ41 — hand-built RAG pipeline

A desktop app (Electron) with two modes: cloud API or fully offline, running a local model (qwen3:8b via Ollama) with a hand-written retrieval pipeline — no framework, every layer written from scratch.

Electron Ollama Hand-written RAG
PJ42 LangChain version app screenshot

PJ42 — the LangChain.js version

The same idea, rebuilt using LangChain.js's off-the-shelf modules instead of hand-written code, paired with a smaller, faster local model — a direct side-by-side comparison of "build it yourself" vs. "use the framework."

Electron LangChain.js Ollama
Screenshots above are from real, running local test launches (2026-07-20) — both apps started and rendered correctly. Note: the UI itself is Chinese-only right now (no English localization built yet).

Want the concepts behind this explained from zero — what RAG actually is, and how LangChain/LlamaIndex/LangGraph differ?

See the AI Technology Knowledge Base →