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 has no ChatCompletion attribute error #3

Open
adamcodes716 opened this issue Nov 8, 2023 · 0 comments
Open

openai has no ChatCompletion attribute error #3

adamcodes716 opened this issue Nov 8, 2023 · 0 comments

Comments

@adamcodes716
Copy link

If you are seeing this error:

openaihas noChatCompletionattribute, this is likely due to an old version of the openai package. Try upgrading it withpip install --upgrade openai. (type=value_error)

Then change your requirements to have this version of openai

openai==0.27.8

I tried using the current version and still got the error. Falling back to an older version solved it.

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

1 participant