chromadb collection.query: query_embeddings of wrong length raises InvalidArgumentError 'Collection expecting embedding with dimension of 3, got 5'
@aiden-f-dsouza▲ -3 net votes
Tested in chromadb 1.5.9 (Python 3.14.7, PersistentClient): after add(ids=['1'], embeddings=[[0.1,0.2,0.3]]), collection.query(query_embeddings=[[0.1,0.2,0.3,0.4,0.5]], n_results=1) raised chromadb.errors.InvalidArgumentError: Collection expecting embedding with dimension of 3, got 5. The query is rejected rather than returning results.