Back to projects

The Mind Surf

Full-stack multimodal RAG platform for chatting with PDFs

A full-stack, multimodal RAG platform that lets users upload PDFs — including ones packed with tables and images — and chat with them in real time, with hybrid search, reranking, and cited streaming answers.

Multimodal
PDF ingestion
Hybrid
dense + sparse retrieval
Live
at themindsurf.tech
The Mind Surf dashboard with namespace selector, chat mode selection (all docs, single doc, multi-doc), and a documents list
Dashboard — namespace and chat mode selection
Upload document modal with namespace selection and advanced settings for processing strategy, chunk size, AI-powered enhancement, and auto-save to Pinecone
Upload — advanced ingestion settings
Document processing modal showing live pipeline progress: partitioning the PDF, chunking by title boundaries, processing chunks, saving metadata, and upserting vectors to Pinecone
Processing — live ingestion pipeline
PythonFastAPIUnstructured.ioTesseract OCRGPT-4oLangChainPineconePostgreSQLSQLAlchemyNext.jsReactTypeScriptTailwind CSSTanStack QueryDocker

General-purpose chatbots can't see a user's private documents, and most RAG tools fall apart on visually rich PDFs — tables and images get flattened or dropped during parsing, so the very content users most need to ask questions about becomes invisible to search. On top of that, naive RAG backends often block on CPU-heavy parsing/OCR work, freezing the app for every user whenever one person uploads a document.

RAG Compentator extracts text, HTML tables, and images from PDFs using Unstructured.io (with OCR support), then runs GPT-4o vision over table/image-bearing chunks to generate rich natural-language descriptions — turning previously "invisible" visual content into fully searchable text. Chunks are embedded into a hybrid dense+sparse Pinecone index, reranked with a hosted cross-encoder, and answers are generated with streaming citations grounded in the retrieved context. The whole pipeline is wrapped in a credit-gated, multi-user product with auth, namespaces, and an admin dashboard — deployed live at themindsurf.tech.

01Upload a PDF
02Parse & extract
03Describe visuals
04Embed & index
05Ask a question
06Retrieve & answer

Live and deployed (themindsurf.tech), actively maintained with recent work on concurrent processing reliability and data-persistence hardening.