The code crashes in the processing step with the following error:
openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-vBsMRTgzeINBj79qEcyzb4EI on tokens per min. Limit: 1000000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues.
Now I know it is caused by sending too many tokens at once through the API. Can a timer configuration be added to the code to send the tokens in fixed intervals?
The code crashes in the processing step with the following error:
openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-vBsMRTgzeINBj79qEcyzb4EI on tokens per min. Limit: 1000000 / min. Current: 1 / min. Contact us through our help center at help.openai.com if you continue to have issues.
Now I know it is caused by sending too many tokens at once through the API. Can a timer configuration be added to the code to send the tokens in fixed intervals?