JT / SAGE IDEAS Work with me

Glossary · Evaluation

Semantic similarity

Scoring how close two pieces of text are in meaning, not in exact wording.

Semantic similarity is a score for how close two pieces of text are in meaning, ignoring the exact words. "Refunds take about two weeks" and "you get your money back in 14 days" share almost no vocabulary but mean nearly the same thing, and a good similarity score sees that. The catch: it scores closeness of meaning, so two wrong answers can still look nearly identical even when both are false.

Why it matters

Exact-match grading breaks the moment your model phrases a right answer differently, which is most of the time. You either fail correct answers on wording or loosen the check until it waves junk through. Semantic similarity gives you a middle path: credit an answer that says the right thing in its own words. Without it, your eval scores punish the model for being fluent, and you end up chasing wording instead of meaning.

How it works

You turn each text into an embedding, a long list of numbers that captures its meaning, then measure the angle between the two vectors with cosine similarity. The result runs from about 0 (unrelated) to 1 (nearly identical), and you pick a threshold where "close enough" starts. It is cheap and fast, which is why golden sets lean on it for open-ended answers. Watch the failure mode: opposite statements often land close, because "the API is down" and "the API is up" live in nearly the same neighborhood.

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions