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 { SparklesIcon, LanguagesIcon, FileTextIcon, CodeIcon } from "lucide-react"import { Suggestions } from "@/components/ui/suggestions"export default function SuggestionsDemo() { return ( <Suggestions className="w-full max-w-lg" suggestions={[ { id: "summarize", label: "Summarize this", prompt: "Summarize this document.", icon: <FileTextIcon className="size-4" /> }, { id: "translate", label: "Translate to Japanese", prompt: "Translate this to Japanese.", icon: <LanguagesIcon className="size-4" /> }, { id: "explain", label: "Explain the code", prompt: "Explain what this code does.", icon: <CodeIcon className="size-4" /> }, { id: "ideas", label: "Brainstorm ideas", prompt: "Brainstorm five ideas for this project.", icon: <SparklesIcon className="size-4" /> }, ]} onSelect={(suggestion) => console.log(suggestion.prompt)} /> )}