All projectsPersonal project

DOXA

Query internal documents in natural language without sending them to US servers. Verifiable answers with source citations, hosted in Europe.

Role
Design and development
Period
April 2026
Setting
Personal project
  • Next.js 16
  • Tailwind v4
  • shadcn/ui
  • Prisma 7
  • PostgreSQL + pgvector
  • NextAuth.js v5
  • Gemini 2.0 Flash
  • Vercel AI SDK v6
DOXA chat: question about the leave policy, answer citing the source document and page

In action

Context

European SMEs and mid-sized companies want to query their internal documents (contracts, procedures, reports) in natural language, but stay stuck on tools like NotebookLM for GDPR reasons: their documents must not transit through unmanaged US servers.

Documents in a DOXA workspace: two indexed PDFs, upload area (PDF, DOCX, TXT)

Mission

Designed a multi-tenant SaaS: Prisma data model with workspaces isolated per company, NextAuth.js v5 authentication (JWT, secure sessions), a document pipeline (PDF/Word/txt upload, parsing, chunking, embeddings), and a RAG engine with pgvector retrieval and streamed generation via Gemini 2.0 Flash, with citations pointing to the exact source page of the document. Hosting planned on a private European Docker VPS. Project actively in development: multi-tenant infrastructure, authentication and document pipeline shipped, RAG engine with citations functional.

DOXA chat on mobile: answer about the intervention lead time with contract excerpt and sources

Impact

Companies can query their internal documents in natural language with verifiable answers (citations to the exact source), without their data ever leaving a managed European hosting environment.

DOXA: workspace list with the user's role

Let's talk about your project.

Describe what you need in a few lines; we'll see together whether I can help.

Get in touch