Forum in maintenance, we will back soon 🙂
I don't understand the reason of error.
This is my code on python.
------------------------------------------------------------------
File "/Users/geonhopark/Desktop/Python/PythonWorkSpace/chatgpt.py", line 13, in <module>
response = generate_text_with_openai(prompt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/geonhopark/Desktop/Python/PythonWorkSpace/chatgpt.py", line 5, in generate_text_with_openai
completion = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_resources/chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openai/api_requestor.py", line 763, in _interpret_response_line
raise self.handle_error_response(
openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.
The error message specifically states: "You exceeded your current quota, please check your plan and billing details." This suggests that your API usage, based on the provided API key, has reached the limit set for your current plan. To resolve this issue, you can consider the following steps:
you need an active OpenAI Subscription
@admin time for an effective FAQ. One that will allow the post to become the Q&A.
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor I plan to add something like "Common Questions" in the course.
@admin but what about the non-course members?
Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack
@ssadvisor the course common answers will be available only to members
-
How to add payment using "Streamlit UI"
3 months ago
-
Localhost Information Script
9 months ago
-
How can i remember python scripting
9 months ago
-
A cautionary tale about using Flask in debug mode with Python Threads
11 months ago
-
csv download is not including all the results in a django application
1 year ago