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.

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.