I am at a loss so wanted to start here. I have used a template by Rowy (Parallel GPT) that basically lets me build a spreadsheet with JavaScript in the columns to have Open AI API integrated.
My issue, by nature of all this, may extend into GCP / Firebase. But I am not sure if it is something with Open AI or if it even could be?
Each row of my sheet has 4 columns that use Open AI. Each of the 4 uses a different API and each only renders once the prior one finishes (to help with limits). Despite that, even in a small batch of 100 rows - The scripts only finished about 10% and then left the rest blank.
I am able to rerun the formula manually and got to about 30 today, but I just for the life of me can’t figure out what limit I am reaching based on all the information I have read on the limits page.
I am using gpt-4-vision-preview specifically for 1 of those 4, which SEEMS to be the main barrier. I know it is very limited now, however today - as an example - I have only 42 / 100 requests according to the Usage page. I have tested the token usage of each row and it is around 1,500/request.
I know I can only do 10K RPM, but even with that in mind - I have tried doing nothing for 1-2 minutes, then re-running just ONE cell and it still won’t run.
Does anyone have any insights into this?
P.S - Am I correct in assuming if all 4 cells are using 4 different API’s, that they are each then only subject to the API limits of that API? I did that since Vision was only needed for 1 of the 4 and has the harshest limits.
UPDATE - I have added better error logging and while the errors are not consistent, the one that stands out is the API reporting back “Error: 429 Rate limit reached for gpt-4-vision-preview in organization org-79etNiGwugRMHREd7xFDb3qA on requests per day (RPD): Limit 100, Used 100, Requested 1. Please try again in 14m24s. Visit https://platform.openai.com/account/rate-limits to learn more.”
I have checked my usage page again for the API being called (gpt-4-vision-preview) and even if I total up the Requests over the last TWO days (understanding the rolling window basis), it is still under 100?