Log in
Log into community
Find answers from the community
View all posts
Related posts
Was this helpful?
π
π
π
Powered by
Hall
Inactive
Updated 2 years ago
0
Follow
how do query engine determine which node
how do query engine determine which node
Inactive
0
Follow
At a glance
S
Senna
2 years ago
Β·
how do query engine determine which node or chunk to choose? I'm talking about vectorstoreindex
S
a
L
6 comments
Share
Open in Discord
S
Senna
2 years ago
I read @anilmatcha 's course and it said this
"The Vector Index can be used when we wish to fetch top-K relevant documents passing a certain threshold of matching score."
But i'm not sure what it means. Can someone show an example?
S
Senna
2 years ago
Can i just make query engine fetch random node? I want to make a random article idea generator based on business's document and PDF. So i want them to get a random node, and GPT will generate topic based on that.
a
anilmatcha
2 years ago
You can then use a list index maybe with a filter argument which can pick node according to a random algorithm
L
Logan M
2 years ago
Yea, if you want a random node you could make a custom node postprocessor for a list index, that just randomly picks one node
L
Logan M
2 years ago
Example of a custom node postprocessor in this thread from yesterday
https://discord.com/channels/1059199217496772688/1124363317645946951/1124372129438240879
S
Senna
2 years ago
Thank you all
Add a reply
Sign up and join the conversation on Discord
Join on Discord