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)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More