Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { ScoreBreakdown, type ScoreCriterion } from "@/components/assistant-ui/elements/score-breakdown"const criteria: ScoreCriterion[] = [ { label: "Accuracy", score: 92, weight: 2, note: "Answers match the source documents." }, { label: "Clarity", score: 84, weight: 1, note: "Easy to follow, minor jargon." }, { label: "Completeness", score: 71, weight: 1, note: "Skips the edge case for empty input." }, { label: "Tone", score: 78, weight: 1 },]export default function ScoreBreakdownDemo() { return ( <ScoreBreakdown verdict="Strong" total={82.5} outOf={100} criteria={criteria} visibleCount={criteria.length} /> )}