Find answers from the community

Updated 6 months ago

Open-Sourcing Rule-based Retrieval

At a glance

The community member posted a question about whether there is anything similar to rule-based/deterministic retrieval in LlamaIndex, as described in an article they saw. The comments suggest that LlamaIndex does support adding metadata to documents and then filtering by that metadata. One community member also mentioned the possibility of using an LLM to automatically select the appropriate filters based on the question. However, there is no explicitly marked answer in the comments.

Useful resources
Hi, I just saw this article - https://medium.com/enterprise-rag/open-sourcing-rule-based-retrieval-677946260973 which talks about rule-based/deterministically tell the model to use a particular chunk. Is there anything similar to this in llamaindex?
1
T
P
v
4 comments
lol, I thought it was something other than just metadata filtering. I think they have just added automatic filter selection according to the question.
you can probably do automatic filter selection by having a list and then asking an LLM which filters it should use when retrieving
Tried that approach once. If you have a graph based implementation ensure you add backtracking as an option.
Add a reply
Sign up and join the conversation on Discord