RAG · Full-stack AI · 2026
FinVault
RAG over your own bank statements
Upload bank statements or transaction CSVs and chat with an assistant that retrieves from your own documents. Background ingestion, per-user vector isolation, and streamed answers.
Pipeline
Uploads trigger an Inngest background job that extracts text (pdf-parse or PapaParse), chunks it at 1,000 characters with 200 overlap, embeds with text-embedding-3-small, and upserts to Pinecone. Ingestion never blocks the request, and processing status updates live in the UI.
At query time the question is embedded, the top four chunks are retrieved, a grounded system prompt is built, and the answer streams token by token. Conversations persist to Postgres.
Decisions
Tenant isolation lives in retrieval. Every vector carries the user’s ID as metadata and every query filters on it. With financial documents, a retrieval leak is a data leak.
A demo mode with sample data and a guided first run, so someone evaluating the project can get to a real answer in under a minute without connecting anything.
Stack: Next.js · Neon Postgres · Drizzle · Inngest · Pinecone · Vercel AI SDK