RetrievalRanking
stableRanked list of retrieved documents with relevance scores
import { RetrievalRanking } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
resultsreq | RankedResult[] | — | Array of ranked results ({ id, label, score, source? }) |
threshold | number | 0.7 | Score threshold for relevance highlighting |
maxDisplay | number | 10 | Maximum number of results to display |
resultsrequiredType
RankedResult[]Default —Array of ranked results ({ id, label, score, source? })
thresholdType
numberDefault 0.7Score threshold for relevance highlighting
maxDisplayType
numberDefault 10Maximum number of results to display
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?