Find answers from the community

Updated 11 months ago

Metadata

Hi everyone. I need a pre retrieval metadata aware condition query in Chromadb Vector Store. Does llama-index provide any utility to specify metadata conditioning retrieval? I can do some post retrieval node processing but in this stage any metadata conditioning will drop the nodes count and sometimes to 0.
L
H
2 comments
Can you explain a bit more what this means?
Lets say all nodes in my chromadb have a date metadata. If I retrieve 10 nodes based of similarity_top_k and then drop some of them in post retrieval phase, because incorrect date span than I will end up with less nodes than 10. But if I could somehow query the vector store with metadata condition so that it would return 10 nodes based on their matadata within specific date span. This way I'll always get 10 nodes in the specified date span.
Add a reply
Sign up and join the conversation on Discord