Cole Hoffer

07 articles

Writing

A lot of these posts start with a search result I didn’t expect. I also write about how I figure out whether a change actually helped. That’s usually the harder part.

Let the Judge Choose, Not Score

I find it easier to pick the better of two answers than to explain what makes one a 6 or a 7. Here’s how I turn those choices into ratings.

Evals

Evaluating LLM Chat Agents with Real World Signals

Three signals I look for in a chat thread are which sources the model cited, what the user asked next, and whether the model followed specific instructions.

Evals

Mining Reranker Training Data from RAG Citations

The documents a model cites can double as training examples. The tricky part is deciding how much to trust each citation.

RAG

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.

RAG

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.

RAG

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.

RAG

Structured Logprobs for Better Classification

I changed my classifier to explain its reasoning before choosing a label. Here’s how I get a confidence score from the token that carries the prediction.

Classification

07 articles / newest first