Client-only hackathon prototype: upload a customer population (CSV or XLSX), run KYC rules across 100% of rows, review exceptions and charts, then generate streamed AI audit findings via OpenAI.
Hackathon slides: kyc-popaudit-pitch-v2.pptx.
cd kyc-popaudit
npm install
npm run devBrowser calls to OpenAI expose the API key to anyone who can open the app. Do not use production secrets.
-
Create
kyc-popaudit/.env.local:VITE_OPENAI_API_KEY=sk-...
-
Optional: set
VITE_OPENAI_MODEL(defaults togpt-4o-miniin code). -
Restart
npm run devafter changing env files.
Alternatively, paste a key on the AI Findings page; it is stored in sessionStorage for the current tab session only.
Use the repo-root kyc_mockup_input.xlsx (150 rows) or any file whose headers match the rule field names.
| Command | Description |
|---|---|
npm run dev |
Vite dev server |
npm run build |
Typecheck + production build |
npm run test |
Vitest (rules engine) |