There were a few problems with the OpenAI moderation endpoint, and I also tidied a couple of things up a bit. Is the gpt3module even needed anymore, since there is a chatgpt one that does pretty much the same? Removing it would allow removing most of the OpenAI class, which would also clean a lot of stuff. Most of my changes here were to get the old code to work
There were a few problems with the OpenAI moderation endpoint, and I also tidied a couple of things up a bit. Is the gpt3module even needed anymore, since there is a chatgpt one that does pretty much the same? Removing it would allow removing most of the OpenAI class, which would also clean a lot of stuff. Most of my changes here were to get the old code to work