Writing

Notes on the work.

Case studies and essays on retrieval, agents and the parts of applied AI that only show up in production.

Curio: every retrieval technique had to beat the eval

A case study. Query rewrite, hybrid search with RRF, Cohere rerank and a relevance gate, each added one at a time and kept only if the golden set improved. Hit@5 0.93 to 1.00, MRR 0.80 to 0.98, and 0 of 45 prompt injections landed.

Where RAG Fails: Understanding the Limitations

RAG gets sold as the cure for hallucination. Then a pipeline ships, the demo questions pass, and somewhere between the query and the answer it quietly loses the plot. This is where that happens and why. On Medium.

How ChatGPT Understands Your Questions

You type a question and an answer comes back that reads like someone understood it. Nobody did. What actually happens between pressing Send and seeing a reply. On Medium.