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 { ChainOfThought, ChainOfThoughtContent, ChainOfThoughtItem, ChainOfThoughtStep, ChainOfThoughtTrigger,} from "@/components/prompt-kit/chain-of-thought"export default function ChainOfThoughtDemo() { return ( <ChainOfThought className="w-full max-w-md"> <ChainOfThoughtStep defaultOpen> <ChainOfThoughtTrigger>Analyze the question</ChainOfThoughtTrigger> <ChainOfThoughtContent> <ChainOfThoughtItem>Identify the key terms in the prompt.</ChainOfThoughtItem> <ChainOfThoughtItem>Clarify what the user is asking for.</ChainOfThoughtItem> </ChainOfThoughtContent> </ChainOfThoughtStep> <ChainOfThoughtStep> <ChainOfThoughtTrigger>Gather relevant context</ChainOfThoughtTrigger> <ChainOfThoughtContent> <ChainOfThoughtItem>Recall the facts that apply to the question.</ChainOfThoughtItem> </ChainOfThoughtContent> </ChainOfThoughtStep> <ChainOfThoughtStep> <ChainOfThoughtTrigger>Draft the answer</ChainOfThoughtTrigger> <ChainOfThoughtContent> <ChainOfThoughtItem>Combine the facts into a short, clear response.</ChainOfThoughtItem> </ChainOfThoughtContent> </ChainOfThoughtStep> </ChainOfThought> )}