JevMade

Sign in
← Back to guides

JevMade field notes / Written article

Check whether a saved answer really fits a new question

James Skelton uses five hundred question pairs to test whether a saved answer can be reused, rather than whether the questions merely concern the same topic.

Original by James Skelton / DigitalOceanRetrieval

Listen to this guide

JevMade’s plain-English explanation

0:00 /

Our summary

Questions about the capitals of Kenya and Jamaica look similar, but one answer will not serve both. A cache stores earlier answers to avoid generating them again. Skelton asks whether an extra check can catch these near-matches before someone receives an answer meant for a different question.

He compares several ways to check five hundred question pairs and their stored answers. In the article, Jev beats topic similarity without clearly beating the stronger small-model checks on accuracy. It also makes substantially worse decisions when the original cached question is left out.

Jev's raw probabilities match observed outcomes less well than the language models' scores in the article. Most labels came from models, with one human reviewer and a small separate test set. DigitalOcean sells Jev. This is a directional comparison, not a full running-cache test or a cutoff that works everywhere.

Key takeaways

  1. Supply the old question and saved answer alongside the new question. Sharing a topic does not establish that an answer fits.
  2. Choose a cutoff using your own labeled requests. Include near-matches where a name, amount, date or account has changed.
  3. Count the checking delay on cache hits and misses alike. If the check fails, get a new answer instead of serving the unverified match.

These notes follow the retrieved article; the companion repository reports differing results. Timings exclude vector search. Uncertain labels, a manufactured match rate and a small test set limit what the comparison establishes.

DigitalOcean · Original published

Read the original guide Opens the author’s site in a new tab.

Keep this for later

Sign in to bookmark experiments, guides and videos, and keep notes only you can see.

Continue to sign in

We’ll bring you back to this listing.