Rate Limit Error with OpenAI API while Syncing to Pinecone from Postgres

Summary

Rate limit error encountered while using the OpenAI API to sync data from Postgres to Pinecone. The error message indicates that the rate limit for the text-embedding-ada-002 model has been reached in the specified organization. Suggestions are provided to increase the rate limit by adding a payment method to the OpenAI account.


Question

2024-09-05 07:11:22 destination > Retrying langchain_community.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 16.0 seconds as it raised RateLimitError: Rate limit reached for text-embedding-ada-002 in organization org-hhuVUVP2FFjsS32XGgfT3lGn on requests per day (RPD): Limit 200, Used 200, Requested 1. Please try again in 7m12s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing
392
2024-09-05 07:11:38 destination > Retrying langchain_community.embeddings.openai.embed_with_retry.<locals>._embed_with_retry in 20.0 seconds as it raised RateLimitError: Rate limit reached for text-embedding-ada-002 in organization org-hhuVUVP2FFjsS32XGgfT3lGn on requests per min (RPM): Limit 3, Used 3, Requested 1. Please try again in 20s. Visit https://platform.openai.com/account/rate-limits to learn more. You can increase your rate limit by adding a payment method to your account at https://platform.openai.com/account/billing

Why I get Rate Limit Error? I have paid openai api key then why I get this error while syncing to pinecone from postgres



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.

Join the conversation on Slack

["rate-limit-error", "openai-api", "syncing", "pinecone", "postgres"]