AI Interfaces
Retrieval Health Card
A source-level health summary for RAG indexes, sync freshness, and retrieval quality.
Installation
Copy and paste the code into your project.
Accessibility notes
Each source includes textual freshness and quality values instead of relying on colored indicators.
Retrieval health
Knowledge index
- Product docs
- Synced 2m ago
- 98%
- Help center
- Synced 1h ago
- 91%
- Release notes
- Synced 3d ago
- 76%
12,482 chunks indexed · 3 sources online
Preview accent
const sources = [
{ name: "Product docs", freshness: "2m", score: "98%", tone: "bg-[#40E0D0]" },
{ name: "Help center", freshness: "1h", score: "91%", tone: "bg-[#a78bfa]" },
{ name: "Release notes", freshness: "3d", score: "76%", tone: "bg-[#fb923c]" },
];
export function RetrievalHealthCard() {
return (
<section className="w-full max-w-sm rounded-xl border border-white/12 bg-[#0b0f14]/92 p-5 shadow-2xl">
<div className="flex items-end justify-between"><div><p className="text-xs font-semibold uppercase tracking-[0.18em] text-[#40E0D0]">Retrieval health</p><h3 className="mt-2 text-lg font-bold text-white">Knowledge index</h3></div><span className="text-xs font-semibold text-[#d8fffb]">healthy</span></div>
<dl className="mt-4 space-y-2">{sources.map((source) => <div key={source.name} className="grid grid-cols-[auto_1fr_auto] items-center gap-3 rounded-lg border border-white/8 bg-white/[0.035] p-3"><span className={`${source.tone} h-2 w-2 rounded-full`} aria-hidden="true" /><div><dt className="text-xs font-semibold text-slate-200">{source.name}</dt><dd className="mt-1 text-[0.65rem] text-slate-500">Synced {source.freshness} ago</dd></div><dd className="text-xs font-black tabular-nums text-white">{source.score}</dd></div>)}</dl>
<p className="mt-4 text-xs leading-5 text-slate-400">12,482 chunks indexed · 3 sources online</p>
</section>
);
}<RetrievalHealthCard />Related components
Retrieval health
Source freshness
- Product docsupdated 2h ago
- Support indexupdated 3d ago
- Policy archiveupdated 41d ago
Policy archive may reduce grounded-answer confidence until it is re-indexed.
AI Interfaces
Retrieval Freshness Gauge
A source-health view that highlights stale retrieval indexes before they weaken grounded answers.
Retrieval plan
Quarterly risk brief
- 18 hits
enterprise retention Q2
Search Reports
- 214 hits
renewal risk signals
Search CRM
- 321 hits
support escalation themes
Search Tickets
AI Interfaces
Retrieval Query Planner
A preflight plan showing generated search queries, target sources, expected hits, and context cost.
Context conflict
Resolve competing claims
- Pricing guide · v8Current
Refund window: 30 days
- Support article · 2024Stale
Refund window: 14 days
AI Interfaces
Context Conflict Resolver
A grounded-answer control for comparing contradictory retrieved claims and choosing an authoritative source.