Back to components

AI Interfaces

Retrieval Freshness Gauge

A source-health view that highlights stale retrieval indexes before they weaken grounded answers.

retrievalfreshnessrag

Installation

Copy and paste the code into your project.

Accessibility notes

Freshness is communicated with exact update ages and a written stale-source warning, not color alone.

Retrieval health

Source freshness

1 stale
  • Product docsupdated 2h ago
  • Support indexupdated 3d ago
  • Policy archiveupdated 41d ago

Policy archive may reduce grounded-answer confidence until it is re-indexed.

Preview accent

TypeScript
const sources = [{ label: "Product docs", age: "2h", freshness: 96 }, { label: "Support index", age: "3d", freshness: 78 }, { label: "Policy archive", age: "41d", freshness: 32 }]; export function RetrievalFreshnessGauge() { return <ul>{sources.map((source) => <li key={source.label}>{source.label}: updated {source.age} ago</li>)}</ul>; }
Usage
<RetrievalFreshnessGauge />

Related components

Retrieval health

Knowledge index

healthy
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

AI Interfaces

Retrieval Health Card

Intermediate

A source-level health summary for RAG indexes, sync freshness, and retrieval quality.

retrievalragobservability
View component

Retrieval plan

Quarterly risk brief

3 queries
  1. 1

    enterprise retention Q2

    Search Reports

    8 hits
  2. 2

    renewal risk signals

    Search CRM

    14 hits
  3. 3

    support escalation themes

    Search Tickets

    21 hits
Estimated context6.4k tokens

AI Interfaces

Retrieval Query Planner

Advanced

A preflight plan showing generated search queries, target sources, expected hits, and context cost.

retrievalqueriesrag
View component

Context conflict

Resolve competing claims

2 sources
  • Pricing guide · v8Current

    Refund window: 30 days

  • Support article · 2024Stale

    Refund window: 14 days

Recommended: prefer v8 because it has the newer effective date and product-owner approval.

AI Interfaces

Context Conflict Resolver

Advanced

A grounded-answer control for comparing contradictory retrieved claims and choosing an authoritative source.

contextconflictretrieval
View component