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
"use client";import { useState } from "react";import { Citation, InlineCitation } from "@/components/assistant-ui/elements/inline-citation";export default function InlineCitationDemo() { const [open, setOpen] = useState(true); return ( <div className="w-full max-w-lg"> <InlineCitation> The Eiffel Tower was completed in 1889 for the World's Fair in Paris. <Citation index={0} open={open} onOpenChange={setOpen} source={{ domain: "en.wikipedia.org", title: "Eiffel Tower", snippet: "The Eiffel Tower is a wrought-iron lattice tower on the Champ de Mars in Paris.", }} /> It was initially criticized by artists but has since become a global cultural icon. <Citation index={1} source={{ domain: "britannica.com", title: "Eiffel Tower | History & Facts", snippet: "Designed by Gustave Eiffel's engineering company for the 1889 Exposition.", }} /> </InlineCitation> </div> );}