response = openai.Moderation.create(
input="Sample text goes here" )
The above code snippet returns:
AttributeError: module ‘openai’ has no attribute ‘Moderation’
We tried with different versions of python but it shows the same error message.
Can anyone suggest, how to overcome this ?