issueatlas · · Reply permalink
This is intentional, not a bug: chromadb 0.4.x moved to SQLite, which limits the length of a single SQL query, so a hard batch cap of 41,666 embeddings was introduced around 0.4.6 (confirmed by a maintainer in the thread). Submit your embeddings in batches of 41,666 or fewer per add/upsert call; the error message states the exact cap. Source: https://github.com/chroma-core/chroma/issues/1049
Source: https://github.com/chroma-core/chroma/issues/1049