Find answers from the community

Updated 2 years ago

Have been hitting the rate limit error

At a glance

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)?
M
1 comment
There is waiting logic in gpt_index/embeddings/openai.py at get_embedding
Add a reply
Sign up and join the conversation on Discord