❗When you create a new OpenAI account, you receive some free credits which are valid for 3 months. It's very rare to run out of credits, though if you're using an account which has been created more than 3 months ago your credits will be expired and you receive an error. The only solution is to add a credit card to your account. You don't need the "plus" account if you limit requests to Chat-GTP-3.5
Thankyou so much man after surfing the whole internet I found this video and was my last hope I have decided to quit if it had not worked but it worked truly.thanks a lot.
So, this doesn't work for free users. This is because if you created your account more than three months prior to using the API key, your free tokens have expired (from the OpenAI article regarding API limits). I ran into the same error as everyone else in the comments, the only solution seems to be to pay for it. Wow, and OpenAI is so lame I can't even manage to add my billing information to PAY for their service. I keep getting a "slow down" error message, which I guess relates to their payment processor. Kind of ridiculous, I can use the free chat all day long, but can't actually pay them to use the API. Can you post an alternative AI that we can do the same things with?
Thanks alot but why when i try to run your code in my spyder id ,show me this error " RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} please advice
Hi, thanks for your comment. It seems you have made too many requests in a short time. In case you/your organization has put a limit on the usage, consider increasing the limit. You can read more in this article: help.openai.com/en/articles/6891831-error-code-429-you-exceeded-your-current-quota-please-check-your-plan-and-billing-details More information about rate limits: platform.openai.com/docs/guides/rate-limits?context=tier-free
After eyeing 2 hours on the yt, I have got the right one. Actually, this is the first one that works for me from your channel. And over the night, other videos will be helpful hopefully!
Hello there. I have tried your code and got an error in this line: chat_completion = client.chat.completions.create Actually, i have already tried a lot of different code examples and all of them have the same trouble with API key. For example: OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
Hi, it seems you're having trouble with passing the API key. Can you please follow the instructions in this video to generate an API key and then add the key to the code from the video? ruclips.net/video/aVog4J6nIAU/видео.html
❗When you create a new OpenAI account, you receive some free credits which are valid for 3 months. It's very rare to run out of credits, though if you're using an account which has been created more than 3 months ago your credits will be expired and you receive an error. The only solution is to add a credit card to your account. You don't need the "plus" account if you limit requests to Chat-GTP-3.5
Wow! Thanks for the information, I tried it with my account (not new) but sadly it returns a message of I need to pay something.
Thankyou so much man after surfing the whole internet I found this video and was my last hope I have decided to quit if it had not worked but it worked truly.thanks a lot.
Thank you for the kind words 🙏 I’m glad my video was useful for you! Happy automation 🚀
So, this doesn't work for free users. This is because if you created your account more than three months prior to using the API key, your free tokens have expired (from the OpenAI article regarding API limits). I ran into the same error as everyone else in the comments, the only solution seems to be to pay for it.
Wow, and OpenAI is so lame I can't even manage to add my billing information to PAY for their service. I keep getting a "slow down" error message, which I guess relates to their payment processor. Kind of ridiculous, I can use the free chat all day long, but can't actually pay them to use the API.
Can you post an alternative AI that we can do the same things with?
Indeed brother. I was going through the same issue and then realised I don't get any API connection until i'm purchasing the premium
Thanks alot but why when i try to run your code in my spyder id ,show me this error "
RateLimitError: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}} please advice
Hi, thanks for your comment. It seems you have made too many requests in a short time. In case you/your organization has put a limit on the usage, consider increasing the limit. You can read more in this article: help.openai.com/en/articles/6891831-error-code-429-you-exceeded-your-current-quota-please-check-your-plan-and-billing-details
More information about rate limits: platform.openai.com/docs/guides/rate-limits?context=tier-free
actually you have to create a new chatgpt account with a new email and then generate new api key
@@TomsTechAcademy I got the same error. I tought it was free.. do you have to pay for it?
@@mathisx468maybe you are using an old account which might your access token is already expired, if that so you should pay for it
I did pip install openai, but it says in my editor that there is no module called openai
After eyeing 2 hours on the yt, I have got the right one. Actually, this is the first one that works for me from your channel. And over the night, other videos will be helpful hopefully!
Thanks for the kind words, glad my video was helpful for you :) happy coding!
Hello there. I have tried your code and got an error in this line:
chat_completion = client.chat.completions.create
Actually, i have already tried a lot of different code examples and all of them have the same trouble with API key.
For example:
OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable
Hi, it seems you're having trouble with passing the API key. Can you please follow the instructions in this video to generate an API key and then add the key to the code from the video?
ruclips.net/video/aVog4J6nIAU/видео.html
@@TomsTechAcademy i did it twice. My friend did the same steps but nothing doesn't work.
I guess the problem is in the API key
@@fizikaman put the api key in between ' '