Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: RateLimitError: Error code: 429 for llama 3 #17637

Open
1 task done
JiaYuanChng opened this issue Jan 26, 2025 · 1 comment
Open
1 task done

[Question]: RateLimitError: Error code: 429 for llama 3 #17637

JiaYuanChng opened this issue Jan 26, 2025 · 1 comment
Labels
question Further information is requested

Comments

@JiaYuanChng
Copy link

Question Validation

  • I have searched both the documentation and discord for an answer.

Question

Hello,

I am going through the tutorial on using the llama 3 model (https://docs.llamaindex.ai/en/stable/examples/cookbooks/llama3_cookbook/#react-agent-with-rag-queryengine-tools). Why am I getting an error related to openai when using a llama3 model?

lyft_index = VectorStoreIndex.from_documents(lyft_docs)
uber_index = VectorStoreIndex.from_documents(uber_docs)

RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}

The following ran smoothly and gave an output:

response = llm.complete("Who is Paul Graham?")

print(response)

I do not know how to resolve this. I am running this with CPU only, on 1 node and 4 cores, with 32GB per core.

@JiaYuanChng JiaYuanChng added the question Further information is requested label Jan 26, 2025
@logan-markewich
Copy link
Collaborator

Openai is still the default embedding model. There are two models, the llm, and the embedding model

You'll need something with a higher quota, or configure another embedding model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants