← all repositories

mckaywrigley/paul-graham-gpt

A search and chat system for Paul Graham's essays using retrieval-augmented generation with OpenAI embeddings and GPT-3.5.

2.7k stars TypeScript RAG · Search
paul-graham-gpt
Velocity · 7d
+2.2
★ / day
Trend
steady
star history

It embeds essay passages into vectors stored in a Postgres database with pgvector, then retrieves relevant passages based on semantic similarity to user queries. The chat interface feeds retrieved passages into GPT-3.5-turbo to generate contextual answers, combining vector-based retrieval with LLM generation. All code, data, and embeddings are open-source.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.