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
Translate
Translate
Inactive
0
Follow
R
RAPHCVR
12 months ago
ยท
Hi , when using llama index and ask for translating a document, or some other tasks to last gpt-4 using your api, I often encounter api timeouts (because too much retries), how to fix that ?
L
R
4 comments
Share
Open in Discord
L
Logan M
12 months ago
I think you'll need to either increase the timeout or increase the retries
llm = OpenAI(..., timeout=60.0, max_retries=3)
That is the default parameters
R
RAPHCVR
12 months ago
Okey, but why there is retries ?
L
Logan M
12 months ago
Not sure -- maybe because the request is taking longer than 60s? Network issue?
R
RAPHCVR
11 months ago
no, does not have any network issues, as it's a azure vm lol
Add a reply
Sign up and join the conversation on Discord
Join on Discord