New: how I design and ship products with Claude Code.Read it

RAG · · 2 min read

RAG UX: citations, sources and trust

Retrieval-augmented generation grounds a model in your own documents. The interface decides whether people believe it. Notes from designing legal and fintech AI.

Sinan Chengoli
Lead Product Designer · AI engineer

What RAG does, in one paragraph

Instead of answering from memory, the model first searches a set of documents, such as contracts, policies or help articles, then writes its answer from what it found. Done well, answers become specific, current and checkable. Done badly, the answer sounds confident and cites the wrong page.

Design the evidence, not just the answer

  • Inline citations next to the exact sentence they support, not a list of links at the bottom.
  • One click to the source, opened at the right paragraph with the passage highlighted.
  • Show what was searched. “Searched 3 policies and 12 contracts” tells people the scope of the answer.
  • Say when nothing was found. “I couldn’t find this in your documents” is far better than a guess.
A citation the user can’t check is just decoration.

Trust in regulated products

In legal and financial products the stakes are high. Users need to know whether an answer comes from the company’s documents, from general knowledge, or from the model’s own reasoning. I give each a different visual treatment so the difference is obvious at a glance.

Retrieval quality is a design problem too

Chunk sizes, document titles and metadata decide what the model can find. I work with engineers on how content is structured and labelled, because a well-written source page produces a better answer than any prompt trick.

  1. Write sources for retrieval: clear headings, one topic per section.
  2. Test with real questions and check which passages came back.
  3. Track “no answer” rates to find gaps in the knowledge base.

Let’s talk

Have a product that needs to feel simple? Book a call or send me a note.

Ask Sinu