← All insights

SYSTEM DESIGN · 5 min read

Retrieval is a product decision, too.

Why useful knowledge systems need more than a vector database: good sources, clear permissions, and answers people can inspect.

Retrieval-augmented generation follows an understandable idea: find information relevant to a question, provide it to a model, and ask the model to answer using that context. It gives a system a way to work with knowledge beyond the model's training.

The architecture matters. So does everything around it. A search system can retrieve a semantically similar paragraph that is out of date, incomplete, or inappropriate for the person asking. A fluent answer can hide these problems unless the product makes them visible.

Start with the source of truth.

Before choosing chunk sizes or embedding models, understand the collection itself. Which documents are authoritative? Who maintains them? How do you know when one replaces another? Is the information intended for the audience who will ask questions?

A retrieval system inherits the ambiguity of its sources. If two policies conflict and neither has a clear owner or effective date, the system cannot reliably resolve that organizational decision on its own.

Useful metadata can include ownership, document type, effective date, audience, source location, and access scope. This information helps with filtering and ranking, and gives the interface a way to explain where an answer came from.

Design for the questions people actually ask.

People rarely phrase a question the way a document phrases its answer. They use shorthand, leave out context, and combine several needs into one request. Review real questions before deciding how information should be indexed and retrieved.

Some questions need a precise term match. Others need semantic similarity or a structured lookup. Some require several sources. Others should begin with a clarifying question. Combining approaches may be more useful than expecting one search technique to serve every need.

Evaluate retrieval independently from the generated answer. If the relevant source never reaches the model, better phrasing instructions won't fix the root problem.

TWO DIFFERENT QUESTIONS

Did we retrieve the right evidence?
Did the answer use that evidence correctly?

Keep access rules close to retrieval.

Permissions should determine what information is eligible to enter a user's context. An instruction telling the model not to reveal sensitive content is not a substitute for enforcing access before retrieval.

Map the user's identity and permissions to the available source collection. Test whether restricted documents can appear in search results, citations, summaries, or indirect answers. Review how cached results and conversation history interact with those rules.

The product should also make the user's context understandable. If an answer cannot be found within the information available to them, say so clearly rather than implying that the information does not exist anywhere.

Make citations useful.

A citation is valuable when someone can use it to check the claim. Link to the relevant source and, where possible, the passage or section supporting the answer. Avoid a long list of documents that happened to be retrieved but did not support the final response.

Think about the reading experience. Can a person see the document's title and date? Can they move from the summary to the original context? Can they tell which source supports which part of the answer?

Source visibility supports review. It also helps diagnose failure: the wrong source was retrieved, the right source was incomplete, or the model interpreted it incorrectly.

Give uncertainty a place in the interface.

Sometimes the collection won't support a useful answer. Sometimes sources will conflict. Sometimes the question will be too broad to retrieve the right context. These are normal states of a knowledge system, and they need designed responses.

The system can ask for clarification, explain which information is missing, offer the closest relevant sources, or route the question to a knowledge owner. A confident sentence is not always the best output.

Capture these moments as feedback on the underlying knowledge. Repeated unanswered questions may reveal a missing document, confusing language, or a policy that needs clarification.

Treat knowledge as an ongoing product.

A retrieval system changes as documents, teams, and workflows change. Define how sources are updated, how removed documents leave the index, and who reviews gaps. Keep a representative set of questions and rerun it when the collection or retrieval approach changes.

Technical choices improve the path between a question and its evidence. Product choices make that path useful to a person. A dependable knowledge system needs both.

Build on knowledge you can trust.

Explore grounded retrieval
Explore more perspectives
THE NEXT MOVE IS YOURS

Good ideas deserve
great intelligence.

Give your team the space to do more meaningful work.

Start a project