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 { Insights1 } from '@/components/dashboardblocks/insights/insights-01'export default function InsightsDemo() { return ( <div className='w-full max-w-lg'> <Insights1 title='Insights' description='14–20 Sep compared with the week before' insights={[ { id: 'i1', kind: 'positive', topic: 'Acquisition', segments: ['Signups ', { text: 'up 24%', tone: 'positive' }, ' to ', { text: '6,634' }], drivers: [{ label: 'Organic search', value: '+812', tone: 'positive' }], href: '#', }, { id: 'i2', kind: 'anomaly', topic: 'Checkout', actionLabel: 'Investigate', segments: ['Checkout conversions dropped to ', { text: '212', tone: 'negative' }, ' on Tuesday, ', { text: '42% below', tone: 'negative' }, ' what was expected.'], href: '#', }, { id: 'i3', kind: 'neutral', topic: 'Traffic', segments: ['Mobile now accounts for ', { text: '52%' }, ' of sessions.'], href: '#', }, ]} /> </div> )}