Skip to main content
←Back to work

IntelliPDF — RAG-Powered Document Chat

Full-stack PDF chat with asynchronous indexing, citation-backed AI answers, and reliable background processing.

Role
Full-stack architecture and implementation
Scope
Reliable document indexing · Streaming answers · Source citations
Core stack
TypeScript · React · Node.js · Express 5

Project showcase

Selected screens from the shipped product and its core workflows.

System flow

From request to reliable result.

Two paths explain the system: durable ingestion and source-grounded answer streaming.

A durable background pipeline separates the upload request from parsing, embedding, and vector storage.

  1. 01

    Upload

    The API validates and records the PDF.

  2. 02

    Outbox

    PostgreSQL commits the job hand-off atomically.

  3. 03

    BullMQ

    A Redis-backed worker claims retry-safe work.

  4. 04

    Parse + embed

    Chunks become Gemini vector embeddings.

  5. 05

    Qdrant

    Deterministic point IDs prevent duplicates.

  6. 06

    Live progress

    Socket.IO reports each indexing state.

What the project delivers

A full-stack Retrieval-Augmented Generation application for uploading PDFs and asking questions with source-backed answers. I designed and implemented an asynchronous document indexing pipeline using BullMQ, Redis, LangChain, and Qdrant, with real-time processing updates through Socket.IO.

The system streams AI responses over Server-Sent Events and provides citations for retrieved content. Its backend includes a Transactional Outbox Pattern for reliable job hand-off, deterministic vector IDs for retry safety, secure authentication, refresh-token rotation, and role-based access control.

Engineering implementation

  • PDF ingestion, parsing, chunking, and vector indexing
  • Asynchronous background processing with BullMQ
  • Real-time indexing progress via Socket.IO
  • Transactional Outbox Pattern for reliable job dispatch
  • Deterministic vector IDs for retry-safe indexing
  • Google OAuth and email/password authentication
  • Secure refresh-token rotation and role-based access control

Product capabilities

  • Citation-backed AI answers streamed over SSE
  • Conversation-aware retrieval and similarity filtering

Tech Stack

  • TypeScript
  • React
  • Node.js
  • Express 5
  • PostgreSQL
  • Prisma
  • Redis
  • BullMQ
  • Qdrant
  • LangChain
  • Google Gemini
  • Groq
  • Socket.IO
  • Docker Compose

Project links