-
-
Notifications
You must be signed in to change notification settings - Fork 530
Moderation
Tolga Kayhan edited this page Feb 16, 2023
·
1 revision
var moderationResponse = await sdk.Moderation.CreateModeration(new CreateModerationRequest()
{
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);