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 { PromptInput, type PromptMessage } from "@/components/ui/prompt-input"import { useState } from "react"export default function PromptInputDemo() { const [generating, setGenerating] = useState(false) const handleSend = (message: PromptMessage) => { setGenerating(true) window.setTimeout(() => setGenerating(false), 1500) } return ( <div className="w-full max-w-lg"> <PromptInput onSend={handleSend} generating={generating} onStop={() => setGenerating(false)} placeholder="Ask anything" /> </div> )}