08-15-2026, 12:50 PM
Everyone has The Pile: 40 PDFs of notes, agreements, reports, question papers β all "I'll read it later", none of it searchable in the way you actually need ("what did that contract say about refund timelines?").
This weekend you fix it. You'll build a private AI that has actually read your documents, answers your questions, and cites the page it got it from. Free tools, no code, works offline if you want. The fancy name is RAG β here's the no-jargon version.
π§ The one-minute mental model
Imagine a librarian who has read every book in your pile and made index cards: each card holds one paragraph plus where it came from. When you ask a question, the librarian (1) pulls the 5β8 most relevant cards (retrieval), (2) hands them to a fast reader who writes your answer from those cards only (generation).
Retrieve-then-read = RAG. Two reasons it beats pasting files into a chat: it scales past what fits in a chat window, and answers stay grounded in YOUR text instead of the AI's imagination.
π§° The free stack
π οΈ Build path A β 30 minutes, zero code
π§ Build path B β the n8n tinkerer route
For when you want automation: folder watch β extract text β embed β store in a vector DB (Qdrant or Postgres+pgvector) β chat trigger answers from the store. High-level recipe:
π©Ή When answers are bad (the fix list)
π Privacy & cost
The config above is fully local: documents, embeddings, and the model never leave your machine. Total cost: βΉ0. Optional upgrades β API embeddings or a stronger cloud model β start a few rupees per hundred pages, but you don't need them to learn the pattern. Either way: this is your private pile; even local, don't feed it other people's confidential docs without permission.
π When you're ready to level up
The same concept powers serious systems: pgvector inside your own Postgres, hybrid search (keyword + vector), agents that read the same store (hello, π€ first AI agent guide), and SQL on the metadata (ποΈ SQL weekend plan if that's new). One weekend project, and suddenly "RAG" in job posts stops looking scary.
π The 7-day challenge
Day 1: path A with 5 documents you know well. Days 2β6: ask it real questions daily β every wrong answer, apply one fix from the list. Day 7: show one friend. The smile they make is why we build.
β Sir-Vigu
Founder, Data-Forums
This weekend you fix it. You'll build a private AI that has actually read your documents, answers your questions, and cites the page it got it from. Free tools, no code, works offline if you want. The fancy name is RAG β here's the no-jargon version.
π§ The one-minute mental model
Imagine a librarian who has read every book in your pile and made index cards: each card holds one paragraph plus where it came from. When you ask a question, the librarian (1) pulls the 5β8 most relevant cards (retrieval), (2) hands them to a fast reader who writes your answer from those cards only (generation).
Retrieve-then-read = RAG. Two reasons it beats pasting files into a chat: it scales past what fits in a chat window, and answers stay grounded in YOUR text instead of the AI's imagination.
π§° The free stack
- Ollama β runs open models (Llama, Qwen, Phi) on your machine. Free. 8 GB RAM is enough for the small models.
- AnythingLLM β the friendly app that holds your documents, does the embedding/retrieval, and gives you a chat window that cites sources. Free, desktop, drag-and-drop.
- Optional: an n8n flow instead of AnythingLLM if you want it automated (Dropbox folder β indexed β Telegram Q&A bot). Our πͺ n8n self-hosted guide gets that base running in 30 minutes.
π οΈ Build path A β 30 minutes, zero code
- Install Ollama (ollama.com β download β done). Open a terminal: (low RAM? useCode:
ollama pull llama3.1:8b).Code:ollama pull phi3:mini
- Install AnythingLLM (desktop app, free).
- Inside it: create a workspace named after the pile β "Semester 5", "Client X", "Flat paperwork".
- Drag your PDFs in. Hit Embed. That's the librarian writing index cards.
- Set the chat model to your Ollama model (settings β LLM β Ollama β pick it).
- Ask: "summarise chapter 2", "what are the refund terms?", "make 10 quiz questions from unit 3". Watch it cite the source file + page.
π§ Build path B β the n8n tinkerer route
For when you want automation: folder watch β extract text β embed β store in a vector DB (Qdrant or Postgres+pgvector) β chat trigger answers from the store. High-level recipe:
- n8n running (30 min with our Docker guide).
- Workflow 1: Read files β split text β create embeddings (Ollama has a free embeddings model: ) β upsert into Qdrant.Code:
ollama pull nomic-embed-text
- Workflow 2: Chat trigger β embed the question β search Qdrant β stuff top results into the prompt β answer with citations.
π©Ή When answers are bad (the fix list)
- Scanned PDFs (photos of pages) give the librarian blank cards β run OCR first (free: OCRmyPDF, or upload to Google Drive β open as Docs).
- Giant books dilute results β split the 600-page tome into chapter files.
- Bad file names hurt β unit3_thermo_notes.pdf beats scan_0042.pdf; the name is context.
- The summary-sheet trick: add a one-page "what this workspace is" doc listing every file and topic. Retrieval quality jumps.
- Tables are the weak spot β for heavy tables, ask for the page reference and read it yourself.
π Privacy & cost
The config above is fully local: documents, embeddings, and the model never leave your machine. Total cost: βΉ0. Optional upgrades β API embeddings or a stronger cloud model β start a few rupees per hundred pages, but you don't need them to learn the pattern. Either way: this is your private pile; even local, don't feed it other people's confidential docs without permission.
π When you're ready to level up
The same concept powers serious systems: pgvector inside your own Postgres, hybrid search (keyword + vector), agents that read the same store (hello, π€ first AI agent guide), and SQL on the metadata (ποΈ SQL weekend plan if that's new). One weekend project, and suddenly "RAG" in job posts stops looking scary.
π The 7-day challenge
Day 1: path A with 5 documents you know well. Days 2β6: ask it real questions daily β every wrong answer, apply one fix from the list. Day 7: show one friend. The smile they make is why we build.
β Sir-Vigu
Founder, Data-Forums
Sir-Vigu
Founder, Data-Forums.com
Connecting data professionals, ideas, and innovation.
Founder, Data-Forums.com
Connecting data professionals, ideas, and innovation.
