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 3 months ago
0
Follow
while retrieving text using vector
while retrieving text using vector
Inactive
0
Follow
a
anupamaze
last year
·
while retrieving text using vector similarity, i am seeing irrelavant text which has some similarity also getting pulled in the context, i m using nodes with entity, is there a way to filter out such nodes/text
W
a
L
7 comments
Share
Open in Discord
W
WhiteFang_Jr
last year
You can try using
similarity post processor
to set a threshold for similarity cut off below which all the nodes will not get picked.
https://docs.llamaindex.ai/en/stable/module_guides/querying/node_postprocessors/node_postprocessors.html#similaritypostprocessor
a
anupamaze
last year
Thank you for the advice Actually I have tried doing that but I see that similarity scores are some times higher for irrelevant text
a
anupamaze
last year
Bringing in entities helped bridge that gap
a
anupamaze
last year
But still it’s far from optimal
L
Logan M
last year
That's just the nature of how embeddings work sometimes. Maybe try using a re-ranker
a
anupamaze
last year
Yes I have used reranker too
a
anupamaze
last year
Is there a way that if I create extract entities for nodes in a different way then the comparison becomes better
Add a reply
Sign up and join the conversation on Discord
Join on Discord