Closed habuma closed 1 day ago
Your code will work in the 0.4.x releases of Chroma, but something changed in the 0.5.x releases, and ChromaVectorStore needs to be updated for compatibility
Ah, so...starting Chroma in a Docker Compose file with "chromadb/chroma:latest" is probably the culprit. Or at least explains why this has worked before, but not now.
A bit further investigation reveals that it works with "chromadb/chroma:0.5.16", but not with "chromadb/chroma:0.5.17" or newer. Whatever changed must have changed with 0.5.17.
Yes, probably related to this change.
When doing a simple similarity search against Chroma, I'm getting the following error:
When I say "simple similarity search", I mean calling
vectorStore.similaritySearch()
with aString
or with aSearchRequest
without a filter expression. E.g., the following code:I don't get that error when I provide a filter expression. And I tried it with Qdrant with no problems, so this narrows the issue down to Chroma.
I get the same problem with both 1.0.0-M3 and 1.0.0-SNAPSHOT, so it's not an entirely new issue. I only just now noticed it because I often do have a filter expression and was trying something without a filter expression for the first time in awhile.