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 { useState } from "react"import { ConversationMap } from "@/components/assistant-ui/elements/conversation-map"import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"const entries = [ { id: "t1", title: "How do I reset my password?", preview: "Open Settings, choose Security, then select Reset password." }, { id: "t2", title: "Can I change my billing date?", preview: "Yes, billing dates can be moved once per calendar month." }, { id: "t3", title: "Where are my invoices?", preview: "All invoices are listed under Billing and can be downloaded as PDF." }, { id: "t4", title: "Do you offer an annual plan?", preview: "Annual plans save about 20 percent compared to monthly billing." }, { id: "t5", title: "How do I add a teammate?", preview: "Invite them from Team settings using their work email address." }, { id: "t6", title: "What permissions can admins set?", preview: "Admins can manage members, billing, and project access." }, { id: "t7", title: "Is there an export option?", preview: "Export your data as CSV or JSON from the Data tab." }, { id: "t8", title: "Thanks, that solved it.", preview: "Glad it helped. Let us know if anything else comes up." },]const visibleIds = ["t4", "t5", "t6"]export default function ConversationMapDemo() { const [activeId, setActiveId] = useState("t5") const active = entries.find((entry) => entry.id === activeId) return ( <div className="flex h-72 w-full max-w-md items-stretch gap-4"> <ConversationMap entries={entries} activeId={activeId} visibleIds={visibleIds} onSelect={setActiveId} /> <Card className="flex-1 justify-center"> <CardHeader> <CardTitle>{active?.title}</CardTitle> <CardDescription>{active?.preview}</CardDescription> </CardHeader> </Card> </div> )}