Retrieval Chunks
Ranked source passages that make retrieval-augmented answers inspectable.
Retrieved context
2 matchesHow should agent permissions be presented?
- 1Agent security guide§ Permissions94%
Request the narrowest capability that completes the task and make its duration visible before execution.
- 2Human-in-the-loop patternsPage 887%
Approval surfaces should explain the proposed action, scope, and likely consequence in plain language.
Installation
Add the component source directly to your project.
pnpm dlx shadcn@latest add https://pastaui.com/r/retrieval-chunks.jsonAPI reference
Retrieval Chunks
| Prop | Type | Default | Description |
|---|---|---|---|
query | string | — | Shows the retrieval query used for the search. |
items | RetrievalChunk[] | — | Provides ranked source passages and relevance scores. |
onOpen | (id: string) => void | — | Opens a selected source passage. |