#peer closed connection without sending complete message body (incomplete chunked read)

1 messages · Page 1 of 1 (latest)

jade jewel
#

Raised during an image captioning process.

ebon wharf
#

Do you have a screenshot?

jade jewel
#

Hi, thanks for replying, you mean of the error?

ebon wharf
jade jewel
#

I'm trying now to see if i can get more but that line is the one raised. I've seen other people asking about this in openAi forum actually

#

the process involved a pretty long file 273 images

ebon wharf
jade jewel
#

Nope, i'm doing that in my application, the process is converting pages in images and captioning them, so i would still need to unzip. it crashes during the captioning thread exectution

ebon wharf
jade jewel
#

what you mean sorry?

ebon wharf
#

The path to your files, the folder and the tree structure where it is located, and this path is transmitted to the code if you are using code.

jade jewel
#

ah ok, i pass them as base64

#

using the format data:image/...;base64,...

#

to the llm i mean

ebon wharf
#

If you have a large API quota, you can send them several times in the same chat to continue the same discussion with all the images.

jade jewel
#

i'm doing one call per image actually

#

in sequence

ebon wharf
# jade jewel in sequence

I advise you to put as many images as possible per call because 273 calls can saturate and slow down, I think.

#

Maximum of 10 images per API call