Block a user
Queries meaning the same thing should return the same answer. This utility converts queries to vector embeddings with MiniLM-L6-v2 and calculates cosine similarity between the cached query and the new query - If the score meets threshold (default: 0.92), it returns a cache hit.
Updated 2026-08-27 20:24:12 +00:00