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 { HighlightText } from "@/components/ui/highlight-text"import { Card, CardContent } from "@/components/ui/card"const results = [ { title: "Café menu and opening hours", snippet: "Fresh pastries, espresso and a quiet courtyard seating area.", }, { title: "Getting started with React", snippet: "Components, props and state explained with small examples.", }, { title: "Coffee brewing guide", snippet: "Compare pour-over, French press and cold brew at a cafe near you.", },]export default function HighlightTextDemo() { const query = "cafe" return ( <div className="flex w-full max-w-lg flex-col gap-3"> {results.map((result) => ( <Card key={result.title}> <CardContent className="flex flex-col gap-1"> <p className="font-medium"> <HighlightText text={result.title} query={query} /> </p> <p className="text-sm text-muted-foreground"> <HighlightText text={result.snippet} query={query} /> </p> </CardContent> </Card> ))} </div> )}