mshumer/gpt-prompt-engineer

Openai ChatCompletion no longer supported?

Neppy7221 opened this issue · 1 comments

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

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