A vector collection groups records whose embeddings can be compared under one numeric contract. Its dimension must be fixed because distance functions compare coordinates position by position; a 768-value vector and a 1,536-value vector do not inhabit the same coordinate space. For marketplace duplicate detection, use one embedding model and preprocessing version per collection, validate length before accepting a write, and migrate model changes into a new collection. That preserves retrieval quality without moving contract errors onto the latency-sensitive query path.
TL;DR: dimension is part of the collection schema, not incidental metadata. Store model and preprocessing revisions with that schema, reject malformed writes, and make retries idempotent.
What does a fixed dimension actually guarantee?
An embedding is an ordered list of floating-point values. Similarity measures such as cosine similarity require equal lengths because the dot product multiplies corresponding coordinates.…