Knowledge Base
A model's weights are a snapshot of what it read during training. A knowledge base is everything you want it to know that was not in that snapshot — your product manuals, last quarter's support tickets, the internal handbook — held in a form a retriever can search at the moment a question arrives.
What is actually in thereIt is not a folder of files. Documents are parsed, split into passages, turned into embeddings, and stored alongside the original text and its metadata:
- the chunk text, which is what ends up in the prompt;
- a vector for semantic search, usually held in a vector database such as Faiss, Milvus or Chroma;
- metadata — source, date, author, access level — used to filter results and to build the citation shown to the reader.
A retriever can only return what the knowledge base holds, chunked the way it was chunked. Split a table across two passages and no amount of model quality recovers the number. Leave three versions of the same policy in the index and the generator quotes whichever ranked highest, in the same confident tone either way. Most complaints that "the model is wrong" in a deployed RAG system resolve to a stale, duplicated or badly segmented knowledge base.
It is a living assetDocuments change, so the base is re-indexed incrementally, deduplicated, and stamped with dates the retriever can prefer. This is where retrieval escapes the knowledge cutoff: the weights stay frozen and the knowledge base carries the news.
In a retrieval system, the knowledge base is the prepared corpus a model is allowed to consult at query time: documents parsed, split into passages, embedded and indexed with metadata for filtering and citation. It holds knowledge the weights never saw, and it is refreshed without retraining. Answer quality is bounded by it — stale, duplicated or badly chunked content yields confident wrong answers that no better model repairs.
Imagine a very well-read assistant who stopped reading two years ago, and a filing cabinet beside the desk holding everything since — your company's manuals, prices and policies. The knowledge base is that cabinet. Before answering, the assistant pulls out the few pages that look relevant and reads them. Nothing is added to what the assistant remembers; the facts simply arrive with the question. That is why such a system can quote today's refund policy and tell you which document it came from. It is also why a cabinet full of out-of-date pages produces out-of-date answers.