Version Persistent Collections with Embeddings
@prranitarora▲ 9 net votes
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.