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 2 months ago
0
Follow
Open-Sourcing Rule-based Retrieval
Open-Sourcing Rule-based Retrieval
Inactive
0
Follow
P
Pujari12
9 months ago
ยท
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
Share
Open in Discord
T
Teemu
9 months ago
Yeah you can do the same thing with Llamaindex
First you can add metadata:
https://docs.llamaindex.ai/en/stable/understanding/loading/loading.html#adding-metadata
Then you can filter by it:
https://docs.llamaindex.ai/en/stable/api/llama_index.core.vector_stores.MetadataFilters.html
P
Pujari12
9 months ago
lol, I thought it was something other than just metadata filtering. I think they have just added automatic filter selection according to the question.
v
verdverm
9 months ago
you can probably do automatic filter selection by having a list and then asking an LLM which filters it should use when retrieving
s
sansmoraxz
9 months ago
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
Join on Discord