← Back to all posts Data dictionary serving as RAG governance layer connecting definitions to retrieval

Your Data Dictionary Is Your RAG Governance Layer

Feb 2026 · Data Governance

Teams building retrieval-augmented generation (RAG) keep running into trouble because the teams never agreed on basic data definitions first. I've spent ten years on the dull side of enterprise data (definitions, taxonomy, stewardship) and the last two building RAG pipelines by hand on my own hardware. Doing both has convinced me that a good data dictionary already does most of what retrieval needs.

Three ways retrieval goes wrong without one

A RAG system pulls whatever is closest in vector space and hands it to the model as if it were correct. Point it at raw shared drives and these show up fast.

  1. Old definitions come back as current. A shared drive or wiki holds every old version of a policy next to the new one, and the model can't tell that the doc from three reorgs ago is dead. It reads well and sounds official, and nothing errors out, so people trust it.
  2. One word gets two meanings mixed together. In finance, "margin" is the gap between revenue and cost of goods sold. In sales, it's the discount room left in a deal. Both show up in the same documents, sometimes in the same meeting transcript. Without a classification layer, part of the answer to a finance question can come from the sales meaning, and it still reads smoothly.
  3. Nobody can trace a wrong answer. When someone gets a bad number, the first question is where it came from. Without lineage (a classification and ownership trail back to a system of record), you're digging through embeddings to find which chunk, from which document, loaded on which date. By the time you find it, someone has usually acted on the answer.

The dictionary work already covers this

Some years back I led a governance project that looked simple on paper. Write the core data policies, build a full data dictionary, standardize terms across departments that had never agreed on them, and set up stewardship so the dictionary didn't rot when the project ended. AI wasn't part of the plan. Finance, operations and sales each had their own meaning for the same fifteen core terms, and nobody could reconcile a report across departments without someone translating.

That translation is what retrieval needs.

Dictionary workWhat it does for RAG
DefinitionsRetrieval context: the official meaning added next to any ambiguous term
Classifications / taxonomyRetrieval filters: limiting a query to the right domain before it reaches the vector store
OwnershipCorrection routing: who gets pinged when retrieval brings up something wrong or stale

The workshops felt slow at the time. We'd get finance and sales in a room, agree on what "margin" means for each of them, write down both meanings and tag which one applies where. One word used two ways confuses vector search the same way it confuses analysts, so that tagging is what keeps the two meanings apart in retrieval.

What I'd do

This order works whether your dictionary already lives in a catalog or you're starting close to zero.

Put the dictionary in the index. Chunk and embed it like any other source, and weight it so a definition entry outranks a passing mention of the same term in a meeting transcript. When "margin" comes up, the definition should come back first and the context-specific usage second.

Tag every chunk with the classifications your catalog already gives tables and columns: domain, sensitivity and department of origin. Then a retrieval filter can say "only pull finance content for this query."

Gate retrieval by sensitivity tier. The tiers that decide who can query a restricted table should decide what a RAG system can retrieve for that person, even when the match is strong. When in doubt, block it (fail closed).

You probably have the pieces already. The work is applying them to a pipeline that was built without them.

Both sides tend to miss half of this. Governance teams take to a committee what an ingestion script could enforce. Engineers who haven't done dictionary work miss how often "the model gave a wrong answer" goes back to a definition conflict older than the model.

I run my own local inference fleet (the setup is in my multi-machine AI fleet post), so I've had to build retrieval from the ingestion layer up. Tagging chunks for a vector index forced the same definition arguments we used to settle in workshops with a shared spreadsheet. You see the cost sooner on this side, because a bad answer shows up in a chat window in seconds, where a bad quarterly report might take a month.

Agents that act on retrieved data raise the same access question, and I wrote about that in governing AI agents' data access. The ownership row in the table only works if stewardship keeps going after launch, which is what month 3 of a stewardship rollout tests.

Where I could be wrong

Update, November 2026: I now run this check with every new frontier model. When one ships (the latest were Gemini 4 Carbon and Fable 5.2), I point it at my own definitions and ask it which ones have gone stale or say two different things. Nothing has broken yet, and I'd like to keep it that way.

Data & AI governance, from the field

Notes on data governance that works in practice, plus my free RFP & TCO scorecard when you sign up.

No spam, unsubscribe anytime · Privacy

More in Data & AI Governance →