DEV Community

Dimitrios Desyllas
Dimitrios Desyllas

Posted on • Edited on

How I can massively upload files into openai so I can make my vector?

As I ask upon:
https://community.openai.com/t/how-i-can-use-a-less-api-calls-for-mass-file-uploads-to-openai/1016130

I try to upload a list of files located upon a directory into a vector store. But it seem that I may need to do multiple api calls in order to do that.

I tried to keep record for each file that I have uploaded but still if I am making a new vector and have 1000 files I need still I need to perform 1000 api calls.

Is there a way to upload these files en messe (or in a some sort of bulk action)?

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up