Cole Hoffer

Series / Advanced RAG / 03 parts

Advanced RAG

I usually draw retrieval as one box. These posts look inside it, from pulling a date range out of a query to deciding which documents reach the model.

03 chapters

Read part 1 →
Part 01 of 03

Structured Pre-Filtering for RAG Systems

When someone asks about “last quarter,” I’d rather give the search engine a date range. Here’s how I separate filters from the rest of a query.

Part 02 of 03

Applying HyDE to Domain-Specific Search

A customer writes “payment flow.” The docs call it “checkout.” How a hypothetical answer can help a search find the match.

Part 03 of 03

Relevancy Filtering in Retrieval Pipelines

A similarity cutoff that works on one dataset can fail on the next. I look at using an LLM to check the documents that made the shortlist.