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, ChainOfThoughtHeader, ChainOfThoughtSearchResult, ChainOfThoughtSearchResults, ChainOfThoughtStep,} from "@/components/ai-elements/chain-of-thought"export default function ChainOfThoughtDemo() { return ( <ChainOfThought className="w-full max-w-md" defaultOpen> <ChainOfThoughtHeader /> <ChainOfThoughtContent> <ChainOfThoughtStep label="Searching relevant sources" status="complete" /> <ChainOfThoughtStep label="Comparing the results" description="Evaluating the most relevant matches." status="active" > <ChainOfThoughtSearchResults> <ChainOfThoughtSearchResult>Product documentation</ChainOfThoughtSearchResult> <ChainOfThoughtSearchResult>API reference</ChainOfThoughtSearchResult> </ChainOfThoughtSearchResults> </ChainOfThoughtStep> <ChainOfThoughtStep label="Preparing the answer" status="pending" /> </ChainOfThoughtContent> </ChainOfThought> )}