Technical ledger · 7 entries

Notes from systems I have built.

Architecture decisions, interaction patterns, and lessons from shipping real product experiments.

Hybrid RAG vs Vector Search: RRF and Reranking Benchmarks

I compared vector search, PostgreSQL keyword search, RRF fusion, and cross-encoder reranking in SourceTrail. See the benchmark results, where hybrid retrieval fell short, and the fixes for exact identifiers, compound questions, and tables.

↗

How I Built a RAG PDF Q&A Bot That Cites Its Sources

A build log of DocFlow, a document Q&A bot that answers questions about a PDF and shows the exact passages it used. It covers the retrieval pipeline, how I tuned the "I don't know" threshold with an eval set, and the bugs and hosting surprises I hit on the way to production.

↗

Latency is a UX problem

A fast endpoint can still create a slow product. The useful unit of performance is the user’s complete wait.

↗