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 { Copy, Download } from "lucide-react"import Box from "@mui/material/Box"import { Artifact, ArtifactAction, ArtifactActions, ArtifactClose, ArtifactContent, ArtifactDescription, ArtifactHeader, ArtifactTitle,} from "@/mui-treasury/components/ai-artifact/ai-artifact"export default function AiArtifactDemo() { return ( <Artifact sx={{ width: "100%", maxWidth: 480, height: 320 }}> <ArtifactHeader> <Box> <ArtifactTitle>Quarterly summary</ArtifactTitle> <ArtifactDescription>Generated from your sales data</ArtifactDescription> </Box> <ArtifactActions> <ArtifactAction tooltip="Copy" icon={Copy} onClick={() => {}} /> <ArtifactAction tooltip="Download" icon={Download} onClick={() => {}} /> <ArtifactClose onClick={() => {}} /> </ArtifactActions> </ArtifactHeader> <ArtifactContent> <ArtifactDescription> Revenue grew 18% over the last quarter, led by strong demand in the North American market. Subscription renewals remained steady, and support tickets dropped by 12% after the onboarding update. </ArtifactDescription> </ArtifactContent> </Artifact> )}