Semantic Cache & Similarity Threshold Calibrator
Exact match caches miss 90% of repeated LLM intents. Semantic caching matches queries by vector similarity, but setting the threshold too low returns hallucinated stale answers. Calibrate your optimal similarity boundary ($\tau$).
Test Query Comparison
Embedding Model Baseline Profiles
- text-embedding-3-small (1536d): Recommended threshold τ = 0.88 - 0.91
- text-embedding-3-large (3072d): Recommended threshold τ = 0.86 - 0.90
- Cohere Embed v3 (1024d): Recommended threshold τ = 0.84 - 0.88
Estimated Semantic Match Score
TF-IDF & Jaccard token overlap heuristic