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 { BoundingBoxes, type BoundingBox } from "@/components/ui/bounding-boxes"import { photoImage } from "@/preview/images"const boxes: BoundingBox[] = [ { id: "merchant", label: "Merchant", x: 0.1, y: 0.06, width: 0.8, height: 0.1 }, { id: "items", label: "Items", x: 0.1, y: 0.3, width: 0.8, height: 0.35 }, { id: "total", label: "Total", tone: "accent", x: 0.1, y: 0.75, width: 0.8, height: 0.08 },]export default function BoundingBoxesDemo() { return ( <BoundingBoxes className="w-full max-w-sm" src={photoImage("paper receipt", 600, 800)} alt="Receipt" boxes={boxes} defaultActiveId="total" /> )}