Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 9 months ago
0
Follow
In my example above, I'm using
In my example above, I'm using
Inactive
0
Follow
h
haedamon
9 months ago
Β·
In my example above, I'm using
SimpleDataStore
as storage context.
From this ChromaDB example,
https://docs.llamaindex.ai/en/stable/examples/vector_stores/chroma_metadata_filter.html
, multiple metadatafilters with OR condition is supported.
Does this mean not all storage-contexts support
FilterCondition.OR
?!
L
h
4 comments
Share
Open in Discord
L
Logan M
9 months ago
Seems like its supported. You might have to update though
https://github.com/run-llama/llama_index/blob/434de440b6302aa0bee108d0caf71b6522e01eb7/llama-index-integrations/vector_stores/llama-index-vector-stores-postgres/llama_index/vector_stores/postgres/base.py#L395
L
Logan M
9 months ago
pip install -U llama-index-vector-stores-postgres
h
haedamon
9 months ago
@Logan M Thanks for your quick and detailed answers!
So, similarly as my nested
MetadataFilters
question earlier, I guess this means
FilterCondition.OR
is only supported for specific vector stores?!
L
Logan M
9 months ago
Yes. But it should be supported for postgres, at least from what I see in the code
Add a reply
Sign up and join the conversation on Discord
Join on Discord