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 { Avatar, AvatarFallback } from "@/components/ui/avatar"import { Conversation } from "@/components/ui/conversation"const messages = [ { role: "user", text: "Can you summarize the release notes for v2?" }, { role: "assistant", text: "Sure. Version 2 adds offline sync, a faster search index, and CSV and PDF export." }, { role: "user", text: "Which of those affects existing projects?" }, { role: "assistant", text: "Offline sync is opt-in, so existing projects keep working as they do today." }, { role: "user", text: "Great, thanks. Is there a migration step?" }, { role: "assistant", text: "No migration is needed. Open Settings and enable sync whenever you are ready." },]export default function ConversationDemo() { return ( <Conversation className="h-72 w-full max-w-md rounded-lg border"> <div className="flex flex-col gap-4 p-4"> {messages.map((message, index) => { const isUser = message.role === "user" return ( <div key={index} className={`flex items-start gap-3 ${isUser ? "flex-row-reverse" : ""}`} > <Avatar className="size-8"> <AvatarFallback>{isUser ? "You" : "AI"}</AvatarFallback> </Avatar> <p className={`max-w-[80%] rounded-lg px-3 py-2 text-sm ${ isUser ? "bg-primary text-primary-foreground" : "bg-muted" }`} > {message.text} </p> </div> ) })} </div> </Conversation> )}