Blue team · Lab

Build a RAG workspace over a document set

Stand up a working retrieval-augmented generation pipeline and see grounded answers cite their sources.

~45 min · AnythingLLM Desktop · 6 steps

New to AnythingLLM? Do the one-time setup first — it takes about five minutes.

  1. Install AnythingLLM Desktop and let it download its bundled local model on first run. Everything stays on your machine.

  2. Create a new workspace — a workspace is one corpus plus its own settings, so keep this one for the exercise.

  3. Upload 5–10 documents you know well: security policies, an incident write-up, vendor docs, a syllabus. Real text you can fact-check beats sample data.

  4. Wait for embedding to finish. That step is chunking each document and converting each chunk to a vector — the "ingest → embed → store" half of the pipeline.

  5. Ask a question the documents definitively answer. Open the citations on the reply.

  6. Ask the same question again with the workspace set to ignore documents (or in a chat with no documents attached) and compare.

What to notice