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 { InlineCitations, Citation } from "@/components/ui/inline-citations"const sources = [ { id: "a", title: "Annual report 2024", snippet: "Consolidated group results for the fiscal year." }, { id: "b", title: "Methodology notes", snippet: "Figures are adjusted for currency effects." }, { id: "c", title: "Regional sales survey" },]export default function InlineCitationsDemo() { return ( <InlineCitations sources={sources} className="w-full max-w-lg text-sm leading-relaxed"> <p> Revenue grew 12% year over year<Citation id="a" />, driven by new markets<Citation id="b" /> and strong demand in the Asia-Pacific region<Citation id="c" />. </p> </InlineCitations> )}