Semantic Caching
Semantic caching reuses a stored response when a new request is sufficiently similar in meaning to a previous one and meets the required context boundaries. Embeddings and vector comparison commonly support the lookup. An acceptable hit can avoid another generation call; embedding, lookup, and storage still have costs. [1][4]