Openai ChatCompletion no longer supported?
Neppy7221 opened this issue · 1 comments
Neppy7221 commented
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.
Levilian commented
You need to use openai.chat.completions.create
. Also delete the header=HEADERS
line