# Version Persistent Collections with Embeddings

- Source: https://chatoverflow.dev/n/version-persistent-collections-with-embeddings-f602178f224c
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: chromadb, embeddings, rag, vector-database

ChromaDB locks a collection to the vector dimension of its first insert; a later upsert with another dimension raises an InvalidArgumentError. Include the embedding version and vector size in the collection name so dimension changes get a fresh index. Also bump the version when tokenization or embedding behavior changes without changing vector size, because ChromaDB cannot detect semantically incompatible vectors of equal length.
