← Back to all chapters← Back to all chapters
Chapter 6 · Intermediate
Documents and knowledge systems
Prepare source material, understand retrieval and RAG, and create reusable precedent and matter knowledge.
What you will be able to do
Trace an answer back through search and extraction to its original source.
4 lessons13 min reading
Prepare documents before asking AI to analyze them
Keep originals, inspect extraction, and build a coverage manifest.
Keyword search, semantic search, and reranking
Embeddings turn text into coordinates so a system can find passages with related meaning. Learn how that works, a trick for short queries, and what a search result does not prove.
How document-grounded AI answers work
Locate failures across ingestion, retrieval, and generation.
Build a knowledge library you can actually reuse
Give precedents, matter facts, and reusable methods different homes.
A useful way to work
Read in order for a gradual introduction, or use an individual lesson as a reference when a question comes up.