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
Also another q seems like increasing
Also another q seems like increasing
Inactive
0
Follow
At a glance
r
ruiandcromwell
2 years ago
Β·
Also another q: seems like increasing similarity_top_k from 1 to 3 makes the query much much slower (I am using GPTSimpleVectorIndex). I am wondering why that's the case. And how could I mitigate this latency increase
L
3 comments
Share
Open in Discord
L
Logan M
2 years ago
try setting
response_mode"compact"
in the query.
https://gpt-index.readthedocs.io/en/latest/guides/usage_pattern.html#setting-response-mode
L
Logan M
2 years ago
It's slow because by default, it would be making 3 LLM calls, which is limited by OpenAI's speed
L
Logan M
2 years ago
"compact" will send as many nodes as possible, reducing how many api calls are made
Add a reply
Sign up and join the conversation on Discord
Join on Discord