Good day, we sometimes received on our search quer...
# community-help
c
Good day, we sometimes received on our search queries an
OpenAI timeout error
, is it possible that the reason for this is the the query takes
OpenAI
more than
30s to process
(default value for
remote_embedding_timeout_ms
)?
f
Hey Cris, Is this thrown using a client library or apparent through direct curl requests as well?
This indeed is handled by
remote_embedding_timeout_ms
c
using python
client library
@Fanis Tharropoulos I was thinking that 1 possible solution is to try to increase
remote_embedding_timeout_ms?
f
Yup, try increasing it to a value higher than 50s when searching and 60 when indexing
There's also a hard coded connection timeout of 4 seconds on any remote API call. But this shouldn't be an issue on your end
c
also, I know there's already
ms
in the name of the field
remote_embedding_timeout_ms
but just to confirm, the value of this is in milliseconds, right? so should be 50000 for 50s
@Fanis Tharropoulos sorry, just a follow up to my last question ☝️
f
Yup, should be 50*10³