Coder Social home page Coder Social logo

Comments (7)

MrArabAi avatar MrArabAi commented on June 11, 2024 1

Do you have some prompt examples that you can provide to us ? i would like to make a video for arab community about your tool

from devopsgpt.

booboosui avatar booboosui commented on June 11, 2024

Please provide the log of running terminal

from devopsgpt.

MrArabAi avatar MrArabAi commented on June 11, 2024

Sure here you go :

Traceback (most recent call last):
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\pkgs\tools\llm.py", line 15, in chatCompletion
message, success = obj.chatCompletion(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\pkgs\tools\llm_basic.py", line 40, in chatCompletion
response = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\pkgs\tools\llm.py", line 19, in chatCompletion
message, success = obj.chatCompletion(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\pkgs\tools\llm_basic.py", line 40, in chatCompletion
response = openai.ChatCompletion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\chat_completion.py", line 25, in create
return super().create(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\site-packages\openai\api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\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.
Traceback (most recent call last):
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\controllers\common.py", line 9, in decorated_function
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\controllers\step_requirement.py", line 21, in clarify
msg, success = clarifyRequirement(userPrompt, globalContext)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\pkgs\prompt\prompt.py", line 19, in clarifyRequirement
return obj.clarifyRequirement(user_prompt, global_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Aitests\DevOpsGPT\DevOpsGPT-0.6.20\backend\app\pkgs\prompt\requirement_basic.py", line 85, in clarifyRequirement
return json.loads(message), success
^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\FadiN\AppData\Local\Programs\Python\Python311\Lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
127.0.0.1 - - [05/Aug/2023 15:19:08] "POST /step_requirement/clarify HTTP/1.1" 200 -

from devopsgpt.

booboosui avatar booboosui commented on June 11, 2024

"openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details."

According to this log, your openai should be out of use limit, you can go to the openai official website to confirm

from devopsgpt.

MrArabAi avatar MrArabAi commented on June 11, 2024

Its working ! Thanks

from devopsgpt.

booboosui avatar booboosui commented on June 11, 2024

Thank you very much, we have some demo cases that you can try:

  1. Select the Java application template:Develop an interface for adding users. The user information includes id, username, sex, and age

  2. Choose a common application template: Develop a web game, there is a small ball at the bottom of the screen, and control the small ball through the left and right keys of the keyboard to avoid obstacles flying from the top of the screen, obstacles appear every second

from devopsgpt.

MrArabAi avatar MrArabAi commented on June 11, 2024

You are awesome !!!

from devopsgpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.