The community member is experiencing a rate limit error from OpenAI while building a simple vector index. They are asking where the best place is to add rate limiting decorator syntax in Python. A comment suggests that there is waiting logic in gpt_index/embeddings/openai.py at the get_embedding function, but there is no explicitly marked answer.
Have been hitting the rate limit error from OpenAI during building the simple vector index.. what’s the best place to add rate limiting decorator syntax (python)?