@assistant-ui/elements-document-referenceloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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 { useState } from "react"import { DocumentReference, type DocumentAnchor } from "@/components/assistant-ui/elements/document-reference"const anchors: DocumentAnchor[] = [  { page: 4, quote: "Revenue grew 12% year over year." },  { page: 17, quote: "Operating margin expanded to 18.5% in the second half." },  { page: 32, quote: "The board approved a new share buyback program." },]export default function DocumentReferenceDemo() {  const [activePage, setActivePage] = useState(4)  return (    <DocumentReference      title="Annual Report 2024.pdf"      pages={48}      anchors={anchors}      activePage={activePage}      onJump={(page) => setActivePage(page)}    />  )}