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 { CitationSources } from "@/components/spectrumui/blocks/ai-assistants/citation-sources"import type { Citation } from "@/components/spectrumui/blocks/ai-assistants/types"const citations: Citation[] = [ { id: "c1", index: 1, url: "docs://nextjs.org/app/building-your-application/rendering/server-components", title: "Server Components", snippet: "Components render on the server by default, reducing client bundle size.", }, { id: "c2", index: 2, url: "docs://react.dev/reference/rsc/server-components", title: "React Server Components", snippet: "RSCs let you write components that run only on the server.", },]export default function CitationSourcesDemo() { return ( <CitationSources variant="Footnotes" text="Next.js renders components on the server by default [1]. This is built on React Server Components [2]." citations={citations} /> )}