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 no longer supported? #24

Open
Neppy7221 opened this issue Mar 5, 2024 · 1 comment
Open

Openai ChatCompletion no longer supported? #24

Neppy7221 opened this issue Mar 5, 2024 · 1 comment

Comments

@Neppy7221
Copy link

I am getting an error and I see no one else getting the error. Does anyone have any idea how to fix this?

I have tried the `pip install openai==0.28' suggestion it told me and it didn't work. I've also tried it on Jupyter notebook but it seemed to do worse over there so I stayed over here on Google Colab.

Picture1

@Levilian
Copy link

You need to use openai.chat.completions.create. Also delete the header=HEADERS line

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