Git Product home page Git Product logo

Comments (10)

gd3kr avatar gd3kr commented on July 18, 2024 1

Since GPT4 is only available via the waitlist right now, that will happen if you don’t have access yet. https://openai.com/waitlist/gpt-4-api

from blendergpt.

gd3kr avatar gd3kr commented on July 18, 2024

fixed in latest version. You can re-install it now

from blendergpt.

PastaAldente avatar PastaAldente commented on July 18, 2024

The newest version allows for the import of openai, but if you select gpt-4, you get the error:

Error: Python: Traceback (most recent call last):
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\__init__.py", line 174, in execute
    blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history, context, system_prompt)
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\utilities.py", line 51, in generate_blender_code
    response = openai.ChatCompletion.create(
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response
    self._interpret_response_line(
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line
    raise self.handle_error_response(
openai.error.InvalidRequestError: The model: `gpt-4` does not exist

from blendergpt.

cvanmeurs avatar cvanmeurs commented on July 18, 2024

I am seeing the same as the last post above. ^ And the execute button just says "please wait", forever, and if you mouse-over this button it says something about an undocumented operator.

from blendergpt.

aelevy1 avatar aelevy1 commented on July 18, 2024

Also getting the same error as mentioned above, gpt-4 does not exist

from blendergpt.

cvanmeurs avatar cvanmeurs commented on July 18, 2024

Since GPT4 is only available via the waitlist right now, that will happen if you don’t have access yet. https://openai.com/waitlist/gpt-4-api

I'm confused. I made an account, I have an API key, I can chat with ChatGPT in their website. Are you saying I require some other type of account?

from blendergpt.

angeltfc avatar angeltfc commented on July 18, 2024

^ I have access to GPT4 as well and am getting the same error

from blendergpt.

gd3kr avatar gd3kr commented on July 18, 2024

@cvanmeurs unfortunately, yes. While they released access to GPT4 for plus users on ChatGPT, they haven't released it for third-party applications. Those are currently only available via the waitlist. This sucks because GPT4 generations are much higher quality (albeit slower) than GPT3.5.

from blendergpt.

OrionRandD avatar OrionRandD commented on July 18, 2024

The newest version allows for the import of openai, but if you select gpt-4, you get the error:

Error: Python: Traceback (most recent call last):
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\__init__.py", line 174, in execute
    blender_code = generate_blender_code(context.scene.gpt4_chat_input, context.scene.gpt4_chat_history, context, system_prompt)
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\utilities.py", line 51, in generate_blender_code
    response = openai.ChatCompletion.create(
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_resources\chat_completion.py", line 25, in create
    return super().create(*args, **kwargs)
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_resources\abstract\engine_api_resource.py", line 153, in create
    response, _, api_key = requestor.request(
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 226, in request
    resp, got_stream = self._interpret_response(result, stream)
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 619, in _interpret_response
    self._interpret_response_line(
  File "C:\Users\Pasta\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\BlenderGPT-main\lib\openai\api_requestor.py", line 682, in _interpret_response_line
    raise self.handle_error_response(
openai.error.InvalidRequestError: The model: `gpt-4` does not exist

I also have got this error...
:(

from blendergpt.

yozshujar avatar yozshujar commented on July 18, 2024

same problem No module named 'openai'

from blendergpt.

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.