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
Increasing the number of nodes returned by the retriever for a PropertyGraphIndex
Increasing the number of nodes returned by the retriever for a PropertyGraphIndex
Inactive
0
Follow
k
kyang
2 months ago
Β·
Hi! Is there a way to increase the number of nodes returned by the retriever for a PropertyGraphIndex? It looks like it uses the default limit of 30 and there is no way to access that parameter.
k
L
4 comments
Share
Open in Discord
k
kyang
2 months ago
I'm using the VectorContextRetriever.
In the code it calls ._graph_store.get_rel_map which passes in the path_depth and the nodes to get the rel_map but there is a limit of 30.
L
Logan M
2 months ago
Ah i see now -- seems like a bug/something that wasn't opened to configuring
L
Logan M
2 months ago
would need a pr to expose configuring that param
k
kyang
2 months ago
I'll make a PR when I have the time. Just wanted to check if I made a mistake, missed something or it was not enabled intentionally.
Add a reply
Sign up and join the conversation on Discord
Join on Discord