LESSON 34.03 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Semantic caching
Watch a cache answer a repeated question without running the model.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 34.03 · CACHE BAY3 REPEATS OF 12 · EXACT TEXT KEY: 0 HITS
01
Stage 1 of 6 · Repeated questions
Q02, Q04 and Q12 ask earlier questions in other words. An exact-text key misses all 3; a semantic cache at 0.90 finds them.
Explain it simply
Each line is one chat request, in the order it arrives. The teal arcs join two questions that mean the same thing. A cache keyed on the exact text only finds the same words. So it misses every one of these repeats, and the model answers each again.
Twelve requests in a column. Arcs join Q02 to Q01, Q04 to Q03 and Q12 to Q07. Each repeat shows: exact text key, miss.
requests, embeddingssimilarity, cache hitsthreshold, GPU timewrong answers
Toy: 12 chat requests of 34.01, 8-feature embeddings, 1 H100 at batch 32
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
An exact key hits only when the stored text is the same.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.