My objective is to do keyword filtering in Chroma. I have a field called keywords with a list of strings and I want to filter with it, but chroma won't let me add lists as a field.
I checked my Chroma version and I have 1.1.0, which in theory accepts lists. Keywords contains exactly that. When I try to add a keyword list it tells me "Failed to add document: Expected metadata value to be a str, int, float, bool, SparseVector, or None, got ['yacht', 'meeting', 'design', 'fluid'] which is a list in add."
Has anyone experienced this? I tried uninstalling chromadb and chroma (which I had previously installed by accident) and just starting fresh with the latest version. I also checked the imports and I am using the correct version everywhere.
Also, coindicentally, the operator "$contains" isn't working either, which could potentially be used to filter without using lists, so I can't go anywhere with this.
If anyone knows a good way of doing metadata filtering without using a list or $contains, I'd appreciate. I'm using conda for the environment, if there's a way to check for chroma "scraps" or something that might be messing up my version that would help as well.
Have a good day!