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 { AskUserQuestions, type AskUserQuestion } from "@/components/ui/ask-user-questions"const questions: AskUserQuestion[] = [ { id: "plan", title: "Which plan fits your team best?", options: [ { id: "starter", title: "Starter", description: "For small teams getting started." }, { id: "pro", title: "Pro", description: "Unlimited projects and priority support." }, { id: "enterprise", title: "Enterprise", description: "Custom security and onboarding." }, ], }, { id: "features", title: "Which features do you need?", multiSelect: true, nextLabel: "Continue", options: [ { id: "api", title: "API access" }, { id: "sso", title: "Single sign-on" }, { id: "audit", title: "Audit logs" }, ], },]export default function AskUserQuestionsDemo() { return ( <AskUserQuestions className="w-full max-w-lg" questions={questions} onComplete={(answers) => console.log(answers)} /> )}