Find answers from the community

Updated 3 months ago

Hi fellas Currently just trying out

Hi fellas! Currently just trying out features of Llamaindex and I encountered a problem regarding rate limit. I'm currently on a free trial of chatgpt api, so my rate limit is 3 / min. Whenever I try to create SimpleVectorIndex that loads more than approx. 10 .txt files i get this error:
INFO:openai:error_code=rate_limit_exceeded error_message='Rate limit reached for default-text-embedding-ada-002 in organization org- on requests per min. Limit: 3 / min. Please try again in 20s.
And then it just keeps repeating itself. I get why it is happening, but is there any known way to work around this?
L
1 comment
Hmm, you could create an emoty index and manually insert each node/document πŸ€” Or you can use a local embedding model
https://gpt-index.readthedocs.io/en/stable/core_modules/model_modules/embeddings/usage_pattern.html#embedding-model-integrations
Add a reply
Sign up and join the conversation on Discord