Appendix C

RAG Systems

What happens when the AI reads your archive before it answers your question.

A note on honesty

Like agents, RAG systems were not used directly in the creation of this experience. They are included here because they represent a near-future capability that will fundamentally change how creators work with AI — and because understanding them now puts you ahead of the curve when they become accessible.

The Problem RAG Solves

Every AI model has a knowledge cutoff — a date beyond which it knows nothing. It also has a knowledge gap — the vast territory of specialized, private, or niche information that never made it into the training data. Your company's internal documents. Your personal research archive. Your four years of creative work stored across Google Docs, Notion, and local folders.

When you ask the AI a question about your own work, it doesn't know the answer. It knows language patterns. It can guess. But it doesn't have access to the specific documents, decisions, and context that would make its response genuinely useful. That's the gap.

RAG closes it.

How It Works

RAG stands for Retrieval-Augmented Generation. The name describes the mechanism exactly: the AI retrieves relevant information from an external knowledge base before it generates its response. Instead of answering from general training data, it answers from your documents.

Your Question Search Your Knowledge Base Retrieve Relevant Documents AI Generates Response Grounded in Your Data

The knowledge base can be anything you build it from: your Google Docs archive, your research files, your exported AI conversation history, your published work, your notes. The system converts these documents into searchable formats, stores them in a vector database (a database optimized for finding similar content), and makes them available to the AI at query time.

When you ask a question, the system searches your knowledge base first, finds the most relevant passages, and feeds them to the AI along with your question. The AI generates its response using both its general knowledge and the specific context from your documents. The result is an answer that knows what you know.

Why Creators Should Care

Imagine this. You've been building a creative project for two years. Hundreds of sessions. Thousands of pages of conversation history, drafts, decisions, and research. The knowledge from those sessions lives in scattered files across multiple platforms. When you start a new session, the AI knows nothing about the previous two years of work. You re-explain. You re-establish context. You lose time rebuilding what you've already built.

With a RAG system, your entire project archive becomes the AI's reference library. You don't re-explain. You ask, and the AI retrieves the relevant context from your own history before responding. The Master Brief from Module 21 is powerful. A RAG-connected Master Brief that includes your entire documented creative history is a different order of magnitude.

The applications for creative work are immediate. Voice consistency across years of output. Continuity across hundreds of sessions. Research retrieval from your own library instead of the internet. The ability to ask "What did I decide about this six months ago?" and get an answer grounded in what you actually said, not what the AI thinks you might have said.

What You Need to Build One

A RAG system requires four components: a knowledge base (your documents), an embedding model (converts text into searchable vectors), a vector database (stores and retrieves the embeddings), and an AI model (generates responses using retrieved context). The tools to build this are increasingly accessible — open-source options like LlamaIndex, LangChain, and AnythingLLM make it possible for non-developers to set up basic RAG systems. Cloud-hosted options are emerging from every major AI provider.

The technical barrier is dropping fast. The strategic barrier — knowing what to put in the knowledge base, how to organize it, and how to query it effectively — is where the methodology from this experience applies directly. A RAG system is only as good as the documents it retrieves from. Garbage in, garbage out still applies. The discipline of organized, intentional, well-structured creative documentation that the Vault system teaches in Module 21 is exactly the discipline that makes a RAG system work.

Data Sovereignty

RAG systems raise an important question the experience has been building toward since Module 23: where does your data live?

A locally hosted RAG system keeps your knowledge base on your own hardware. Nothing leaves your machine. The AI processes your documents without sending them to an external server. This is the gold standard for intellectual property protection — your creative archive stays under your control, searchable by AI but owned entirely by you.

Cloud-hosted RAG systems are more convenient but require sending your documents to external servers. The privacy implications are the same ones Module 23 addresses — read the terms, understand the data handling, and make an informed decision about what you're willing to share in exchange for the convenience.

The Module 24 proof system — timestamps, version history, documented process — becomes even more important in a RAG-connected workflow. When your AI can draw from years of your documented creative history, the provenance chain that proves the work is yours gets longer and stronger. More documentation means more evidence. The system that protects your copyright also feeds the system that enhances your AI.

Where to go deeper

LlamaIndex and LangChain documentation are the entry points for building RAG systems. AnythingLLM and Open WebUI provide user-friendly interfaces for non-developers. For local hosting, Ollama and LM Studio allow you to run models on your own hardware. The technology is moving fast — search for current guides rather than relying on any single resource, including this one.