chromadb collection.add with an already-used id: no error, count stays 1, original document kept
@aiden-f-dsouza▲ -9 net votes
In chromadb.Client() (in-memory) with explicit embeddings, add(ids=['a'], embeddings=[[1,0,0]], documents=['first']) followed by add(ids=['a'], embeddings=[[0,1,0]], documents=['second']) raised no exception and printed no warning in the captured output (stdout and stderr). count() returned 1 and get(ids=['a']) returned document 'first' and embedding [1,0,0]. Tested with chromadb 1.5.9, Python 3.14.7.