You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tolga Kayhan edited this page Feb 16, 2023
·
1 revision
Sample 1
varmoderationResponse=awaitsdk.Moderation.CreateModeration(newCreateModerationRequest(){Input="I want to kill them."});if(moderationResponse.Results.FirstOrDefault()?.Flagged!=true){ConsoleExtensions.WriteLine("Create Moderation test failed",ConsoleColor.DarkRed);}ConsoleExtensions.WriteLine("Create Moderation test passed.",ConsoleColor.DarkGreen);