RB

$ cat projects/pdf-gpt.md

PDF GPT: Your Personal PDF Assistant

Ask a long PDF a question instead of scrolling it, using GPT-4 and retrieval over the document's own text.

Role

Side project

Timeline

2 months

View Live Project
pdf-gpt
Screenshot of the PDF GPT product site, showing a PDF open beside a chat answering questions about it

Overview

A PDF assistant that answers questions about your files. It summarizes a document, pulls text out of it, and keeps the whole exchange in one chat.

The problem

Getting one fact out of a long PDF meant reading hundreds of pages to find it.

What I built

Built a chat interface on OpenAI GPT-4 and LangChain with RAG (retrieval-augmented generation), so you can ask about a PDF in plain language.

Results

Answers questions about documents over 1,000 pages long without anyone opening the file. Handles several formats and batch uploads.

Tech stack

  • Next.js
  • tailwind
  • tRPC
  • OpenAI
  • Langchain