跳至内容 / Skip
Back to insights
中文
AI Products

RAG without clickable citations is chat in a retrieval coat—trust never lands

KSX Studio · 可上线10 min read

Once internal Q&A or customer assistants use RAG, users buy provenance—“where did this come from, can I check?”—not fluent sentences. KSX treats citation UX as the primary path in discovery and design, not a footnote under the bubble: citations must open, spans must match source, and ungrounded turns must say sources are insufficient instead of filling gaps with confidence. Content products that may explain work to visitors need separate corpora and cite rules; manufacturing-plus-ops orgs juggling specs, process, and pricing hurt trust more with wrong cites than with no AI. This article collects shippable RAG citation UX patterns, IA, and acceptance criteria so product, design, and engineering share one language.

Trust is checkability—not sounding expert

Teams often ship decorative badges that open to a filename only. Real provenance answers three questions: which document, which span, is that version still effective. Design assumes users will doubt the model; the UI should make verification one click. Tone: assertive when cites are strong; soften certainty on weak or conflicting sources and show them side by side instead of faking a single truth. Drop “sounds expert” as a success metric; track citation click-through, human review pass rate, and time-to-blame for wrong answers.

Minimum information architecture for citation components

Each citation needs at least: title, source system, version or effective date, short excerpt, deep link (anchor or page). Order the list by contribution to the answer, not raw retriever score dump. Inline [1][2] markers should sync with the list; desktop can split-preview, mobile uses a half-sheet so context is not lost. Never show raw vector chunk IDs to end users. When metadata is missing, label “source info incomplete” to push corpus ops—do not omit silently.

Align source highlights with citable units

Opening a cite should highlight the same span the model used—not dump a whole PDF chapter. Chunking at ingest must match display units: policy by clause, runbooks by step, tables as structured fields. If rerank stitches multiple spans, UI shows multiple highlights with order. OCR and scans need a “low confidence” treatment so fuzzy text is not presented as law. Passing span offsets or paragraph IDs to the client is UX, not a backend nicety.

Three required states: insufficient, conflicting, stale

On empty or weak retrieval, never free-generate. Offer a clear insufficient-sources message, what corpus was searched, and next steps (rephrase, ticket, expert). On conflicting sources, show the split and withhold a single verdict—especially for price, ACL, and safety steps. On stale hits, flag effective dates and prefer current versions; if current is missing, abstain rather than pad with old policy. Script these three states in usability tests; they are not post-launch edge bugs.

ACL and redaction: previews must not become leak channels

Even after retrieval filters, previews can leak via titles or excerpt fields. UX must match ACL: no permission means no citation row—not a teasing “confidential doc” label. Redact excerpts server-side by policy (customer names, phones, amounts configurable). Multi-tenant assistants need a design review for “screenshot the cite list and forward.” Separate internal vs external indexes—experience boundary and security boundary are the same line.

Close the loop: feedback, correction, human handoff

Useful / stale / wrong beside citations is cheap and high value. “Wrong” should let users mark which cite misled them and optionally hand off to a human. Route feedback into tickets or corpus queues—not analytics-only events. For decision-assist, allow export of the answer-with-cites into approval flows for later accountability. Skip gamified likes; internal users need a correction path, not social vibes.

Citation density and layout by scenario

Support assist: few strong cites plus “copy client-ready wording” that strips internal notes. Implementation: denser cites with version and path for tickets. Exec brief: cites collapsed by default, one-click expand to verify without flooding the first screen. Bilingual products keep document titles in source language with a always-available open-original action in UI locale. Keep motion quiet—citations are tools, not immersion theater; lazy-load previews so one answer does not fetch ten large PDFs.

Acceptance: testable gates beyond the mock

Example launch gates: every generation has cites or an explicit insufficient state; sampled cite spans match prompt context; zero cites to unauthorized docs; mobile cite depth ≤ two taps; median human verify time under contract on critical jobs. We put these on the launch list beside model evals. If your RAG still “ships generation first, citations later,” invert the order—users remember one unverifiable error more than three fluent wins.

Checklist

  1. 1Citations include title, version/date, excerpt, deep link; sync with inline markers
  2. 2Ship insufficient, conflicting, and stale-source states with clear copy
  3. 3Lists and previews honor ACL; redact excerpts server-side
  4. 4Offer useful/stale/wrong feedback with handoff and per-cite blame
  5. 5Launch spot-check: grounded or explicit gap; zero cross-ACL citations

Key takeaways

  • RAG citation UX exists to cut verification cost—not to decorate the bubble.
  • Insufficient and conflict states matter as much as correct answers—and belong in design and evals.
  • ACL, redaction, and corpus versioning are UX issues and incident boundaries.

FAQ

Do we have to show full-document preview?
No. Prefer highlighted spans plus deep links into the source system. Full preview is heavier on ACL and render cost—offer it as an expert-role upgrade, not the default.
What if the model will not emit structured citations?
Treat citations as a system duty: always render the retriever’s document list; the model only marks which IDs it used. On parse failure, degrade to source list + lower certainty or retry—never ship uncited as success.
Do marketing copy generators need the same citation density?
Usually lighter: cites to brand guides and approved claims, with “draft needs human publish.” Price, compliance promises, and regulated claims should rise to the same provenance and approval bar as knowledge Q&A.

Related services

Keep reading