Hi,
I have a task for which I need to call the completions API several thousand times and expect this to take several hours.
I don't need help with optimising the prompt itself, but to understand what's the more recommended way to parallelise the calls to the api so that the task completes a little faster.
With a paid account I understand that I can do up to 60 calls per minute. Making the calls one at a time, I currently do about 10 calls /minute so I assume I could theoretically 6x this if I parallelised the calls.
Does anyone have Python libraries or code to suggest? (assuming openai allows this practice)
Thanks!
Alex