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 { SendIcon } from "lucide-react"import { ChatThread, type ChatAuthor, type ChatMessage } from "@/components/ui/chat-thread"import { Button } from "@/components/ui/button"import { Input } from "@/components/ui/input"const authors: ChatAuthor[] = [ { id: "me", name: "You" }, { id: "maya", name: "Maya Chen" },]const messages: ChatMessage[] = [ { id: "1", authorId: "maya", at: "2024-05-14T09:12:00", text: "Are we still on for the design review at 2?" }, { id: "2", authorId: "me", at: "2024-05-14T09:13:00", text: "Yes, I'll have the updated mockups ready." }, { id: "3", authorId: "maya", at: "2024-05-14T09:14:00", text: "Perfect. Can you also share the onboarding flow?" }, { id: "4", authorId: "maya", at: "2024-05-14T09:14:30", text: "Thanks!" }, { id: "5", authorId: "me", at: "2024-05-14T09:15:00", text: "Sending it over now." },]export default function ChatThreadDemo() { return ( <ChatThread className="h-[380px] w-full max-w-md" messages={messages} authors={authors} currentUserId="me" footer={ <div className="flex items-center gap-2 p-3"> <Input placeholder="Message" /> <Button size="icon" aria-label="Send"> <SendIcon /> </Button> </div> } /> )}