ChatGpt Moderation API

Hello everyone,

I need assistance with the ChatGPT API. My application was flagged by OpenAI due to a "Content Policy Violation" as some users have input inappropriate terms. I'd like to integrate a moderation endpoint as recommended by OpenAI.

However, I'm unsure about how to modify the code. I've based my implementation on this template: https://app.flutterflow.io/marketplace/item/7RP1amTYvCDyTpy4dUe0

Can anyone offer some guidance, please? ๐Ÿ™

2