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 { PromptComposer } from "@/components/motiq/prompt-composer"export default function PromptComposerDemo() { return ( <PromptComposer className="max-w-lg" label="Prompt" placeholder="Write a prompt…" defaultValue="Draft a friendly reply to {{customer_name}} about their order." variables={[ { key: "customer_name", label: "Customer name", description: "Name of the customer", sample: "Olivia" }, { key: "order_id", label: "Order ID", description: "The order reference", sample: "#4821" }, ]} attachments={[{ id: "a1", name: "order-history.csv", kind: "data", meta: "12 KB", status: "ready" }]} models={[ { id: "fast", name: "Fast model", caption: "Quick replies" }, { id: "deep", name: "Deep model", caption: "Longer reasoning" }, ]} selectedModelId="fast" tokenCount={42} maxTokens={1000} status="idle" onSubmit={(value) => console.log(value)} /> )}