Cosine Similarity Threshold 0.8: Embedding Anisotropy Broke My RAG
My RAG bot had exactly one safety rule: if the best chunk scores below 0.8 cosine similarity, answer "I don't know." That cosine similarity threshold ran for months without complaint. Then I swapped the embedding model, redeployed, and the bot said "I don't know" to everything. Including "how do I…
Read the full story at DEV Community — Machine Learning ↗
Timeline · 1 report
- 2026-10-11 16:55 · DEV Community — Machine Learning
Cosine Similarity Threshold 0.8: Embedding Anisotropy Broke My RAG