RAG Retrieval Inspector
RAG debugging console that breaks down why a chunk did or did not pass the vector similarity and reranker cutoff threshold.
About this block
What it's for
- RAG debugging console that breaks down why a chunk did or did not pass the vector similarity and reranker cutoff threshold.
- LLM answer auditor that inspects the provenance and term overlap of fragments retrieved from the vector store.
- Test bench to dynamically calibrate the minimum similarity threshold before injecting context into the prompt.
For direct editing or uploading of documents is required, use RAG Source Manager.
Includes
- Retrieval fragments list
- Score breakdown visualization
- Cross encoder rerank analysis
- Dense vector similarity
- Sparse bm25 lexical match
- Interactive threshold simulation
- Query term matching
- Provenance metadata inspection
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add rag-retrieval-inspectorInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/rag-retrieval-inspectorUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
- None beyond your project's React and Next.js
- Registry dependencies
lib-primitives- Files
2 files
- components/agentic-ui/rag-retrieval-inspector/index.tsx
- components/agentic-ui/rag-retrieval-inspector/types.ts
Related components
RAG Chunk Viewer
Inspecting how a document was chunked when indexing it in the vector database.
Details and live previewRAG Citation Cards
Assistant reply with sources [1]-[n] whose full passage is inspected by hovering over each card.
Details and live previewRAG Freshness Badge
RAG source manager that flags which indexed documents have become obsolete.
Details and live previewRAG Search Playground
Test console to evaluate natural-language queries against the vector store and calibrate retrieval parameters.
Details and live preview