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 { InsightBadge, InsightDrivers, InsightIcon, InsightText } from "@/components/dashboardblocks/insights"export default function InsightsDemo() { return ( <div className="flex w-full max-w-md flex-col gap-4 rounded-xl border bg-card p-4 text-card-foreground shadow-sm"> <div className="flex items-start gap-3"> <InsightIcon kind="positive" /> <div className="flex flex-col gap-2"> <InsightBadge kind="positive" /> <InsightText segments={[ "Revenue is up ", { text: "+12%", tone: "positive" }, " versus last week, driven mainly by paid search.", ]} /> <InsightDrivers drivers={[ { label: "Paid search", value: "+812", tone: "positive" }, { label: "Email", value: "+104", tone: "positive" }, { label: "Referral", value: "−36", tone: "negative" }, ]} /> </div> </div> </div> )}