Ai Rag Chunk Inspector
A production-scale, light + dark Ai Rag Chunk Inspector component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-rag-chunk-inspectorUsage
import { AIRagChunkInspector } from "@lerpa/ui";
<AIRagChunkInspector />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| source | string | — | |
| chunkIndex | number | — | |
| text | string | — | |
| embedding | string | — | |
| scores | { name: string | — | |
| value | number }[] | - | |
| metadata | { key: string | — | |
| value | string }[] | - | |
| accent | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.