Skip to content
Get Pro

Retrieval Chunks

Ranked source passages that make retrieval-augmented answers inspectable.

Retrieved context

2 matches
How should agent permissions be presented?
  1. 1Agent security guide§ Permissions94%

    Request the narrowest capability that completes the task and make its duration visible before execution.

  2. 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.json

API reference

Retrieval Chunks

Retrieval Chunks properties
PropTypeDefaultDescription
querystringShows the retrieval query used for the search.
itemsRetrievalChunk[]Provides ranked source passages and relevance scores.
onOpen(id: string) => voidOpens a selected source passage.