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

openai.ChatCompletion in Openai 1.0.0 #29

Open
LuisBurdallo opened this issue Jan 26, 2024 · 2 comments
Open

openai.ChatCompletion in Openai 1.0.0 #29

LuisBurdallo opened this issue Jan 26, 2024 · 2 comments

Comments

@LuisBurdallo
Copy link

Error occurred when executing ChatGPT Simple _O:

You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.

You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.

Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28

A detailed migration guide is available here: openai/openai-python#742

@LuisBurdallo
Copy link
Author

LuisBurdallo commented Jan 26, 2024

Should we upgrade to 1.0.0 or pin and go back to 0.28? Can the nodes be updated to avoid this issue?

@omar92
Copy link
Owner

omar92 commented Sep 10, 2024

kindly tell me if it works now

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

No branches or pull requests

2 participants