Find answers from the community

Updated 2 months ago

More docs

Hi folks,
When I am using less documents, GptIndex is giving me expected response. But when the volume is high of docs, it is struggling to give the correct answer and taking lot of time. Any heads-up one it?
L
S
2 comments
Try increasing the top_k in your query (assuming you are using a vector index)

index.query(..., similarity_top_k=3, response_mode="compact")
Thank you for the help, I will try it and get back if anything goes wrong.
Add a reply
Sign up and join the conversation on Discord