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 { UploadIcon } from "lucide-react"import type { UseSupabaseUploadOptions } from "@/app/composables/useSupabaseUpload"import { Button } from "@/components/ui/button"const options: UseSupabaseUploadOptions = { bucketName: "documents", maxFiles: 2, maxFileSize: 5 * 1024 * 1024, allowedMimeTypes: ["image/*", "application/pdf"],}export default function DropzoneDemo() { return ( <div className="flex w-full max-w-md flex-col items-center gap-4 rounded-lg border-2 border-dashed bg-card p-6 text-center text-foreground"> <div className="flex flex-col items-center gap-y-2"> <UploadIcon className="size-5 text-muted-foreground" aria-hidden="true" /> <p className="text-sm">Upload {options.maxFiles} files</p> <p className="text-xs text-muted-foreground"> Drag and drop or{" "} <button type="button" className="cursor-pointer underline hover:text-foreground"> select files </button>{" "} to upload </p> <p className="text-xs text-muted-foreground"> Maximum file size: 5 MB </p> </div> <Button variant="outline" disabled> Upload files </Button> </div> )}