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 { Conversation, ConversationContent, ConversationScrollButton } from "@/mui-treasury/components/ai-conversation/ai-conversation"const messages = [ { id: "1", role: "user", text: "Can you summarize the quarterly report?" }, { id: "2", role: "assistant", text: "Revenue grew 12% year over year, driven by new enterprise customers." }, { id: "3", role: "user", text: "What about operating costs?" }, { id: "4", role: "assistant", text: "Operating costs held steady at about 4% above last quarter, mostly from hiring in engineering." },]export default function ConversationDemo() { return ( <div className="w-full max-w-lg"> <Conversation style={{ height: 400 }}> <ConversationContent> <div className="flex flex-col gap-3"> {messages.map((m) => ( <div key={m.id} className={ m.role === "user" ? "ml-auto max-w-[80%] rounded-2xl bg-primary px-4 py-2 text-sm text-primary-foreground" : "mr-auto max-w-[80%] rounded-2xl bg-muted px-4 py-2 text-sm" } > {m.text} </div> ))} </div> </ConversationContent> <ConversationScrollButton /> </Conversation> </div> )}