Hi There,
I have tried several options to resolve the code failure (including using ChatGPT). Running the code as is I get the error:
AttributeError: module 'openai' has no attribute 'ChatCompletion'
Essentailly ChatGPT says that I should use:
completion = openai.Completion.create(
But that doesn't work either.

I then asked for more help:

It finaaly suggsted:

But that didn't work either.
Any suggetsions?
Hi There,
I have tried several options to resolve the code failure (including using ChatGPT). Running the code as is I get the error:
AttributeError: module 'openai' has no attribute 'ChatCompletion'Essentailly ChatGPT says that I should use:
completion = openai.Completion.create(But that doesn't work either.
I then asked for more help:
It finaaly suggsted:
But that didn't work either.
Any suggetsions?