Skills
Shrink embedding storage and latency with Matryoshka truncation — no re-embedding
Matryoshka representation embeddings (supported by OpenAI, Cohere, and Jina) let you truncate a vector to fewer dimensions and still retain most of its retrieval quality, so you can cut index size and query latency without re-embedding your corpus. Most RAG apps sit best at 768–1024 dims; store full vectors and serve a truncated prefix for first-pass search, then rerank with full dimensions. It's a near-free knob most teams leave on the default max.
Source
↳ Follow the thread