Multi-stage AI content moderation pipeline with keyword, provider, and semantic analysis stages for RepletoryLib
$ dotnet add package RepletoryLib.Ai.ModerationMulti-stage AI content moderation pipeline with keyword, provider, and semantic analysis stages for RepletoryLib.
{
"Ai": {
"Moderation": {
"EnableKeywordStage": true,
"EnableProviderModerationStage": true,
"EnableSemanticStage": false,
"FailFast": true,
"PublishFlaggedEvents": true,
"BlockedKeywords": ["spam", "scam"],
"KeywordsFilePath": "./blocked-keywords.txt"
}
}
}
services.AddRepletoryAiModeration(configuration);