Status: [UNTESTED] Endpoints found: http://127.0.0.1:8008/chat Source: https://github.com/lalith0087/local-rag-assistant # Local RAG Assistant [![CI](https://github.com/lalith0087/local-rag-assistant/actions/workflows/ci.yml/badge.svg)](https://github.com/lalith0087/local-rag-assistant/actions/workflows/ci.yml) A retrieval-augmented Q&A bot that lets you chat with any local codebase in plain English and get answers grounded in the actual source — with `file:line` citations for every claim. Runs **entirely on your machine**: embeddings and chat completion both go through [Ollama](https://ollama.com), so there are no API keys, no per-query cost, and no code ever leaves your laptop. > Index multiple repos, switch between them instantly, and ask things like *"how does the > generator model work?"* or *"how is the dataset loaded for training?"* — the bot retrieves > the relevant functions/files and answers using only that context. ![Demo: asking a question about an indexed codebase and getting a cited answer](docs/demo.gif) *Above: indexing [telco-churn-mlops](https://github.com/lalith0087/telco-churn-mlops) and asking it a question about the FastAPI serving layer — the answer cites the exact files/line ranges it drew from.* This is a local-first tool by design (see "Why local, not hosted" below), so there's no live demo link — the GIF above is the fastest way to see it in action without installing anything. ## Why this exists Most "chat with your docs" RAG demos point at PDFs. This one points at **code** — chunking is AST-aware for Python (one chunk per function/class, not arbitrary line slices), so retrieval returns whole, coherent functions and the model can cite exactly where an answer came from. ## Why local, not hosted This project is intentionally not deployed to a public server. Two reasons, both structural rather than incidental: 1. **It indexes an absolute filesystem path.** The whole point is pointing it at a codebase sitting on *your* machine — a hosted version would have no access to a visitor's local repos, so a "live demo" would only ever be abl