Reading a document in windows
Entity resolution needs proof
Storage and exact vector search
Asking a question
Checking every claim before it's shown
The app
Tech stack
- Paperless-ngx for document storage, base OCR and tags
- Gemini Flash through LiteLLM, with a GPT mini model as the query fallback and an OpenAI large embedding model for embeddings, kept current as models release
- Strands Agents for query planning, source audits, answer repair and entity review suggestions
- Neo4j 5 with APOC for entities, relationships and multi-hop traversal
- PostgreSQL with pgvector and pg_trgm for exact vector search and trigram keyword search
- FastAPI on Python 3.12 for the backend
- Next.js 16 and React 19 with shadcn/ui and react-force-graph for the frontend
- Redis for query, vector and graph caches
- Kubernetes with Flux for the running deployment, and Docker Compose for local development