01:48
2026-08-25
dev.to
artificial-intelligence
Three things I got wrong measuring my own cache
A developer building an on-premise RAG system for regulatory documents discovered that a semantic cache using cosine similarity was unsafe for questions differing only in polarity. Testing with Spanisβ¦