Microsoft.Teams.AI.AI.Moderator Namespace

Classes

AzureContentSafetyModerator<TState>

An moderator that uses Azure Content Safety API.

AzureContentSafetyModeratorOptions

Options for the Azure Content Safety moderator.

DefaultModerator<TState>

The default moderator that does nothing. Used when no moderator is specified.

ModerationCategoriesFlagged

Per category scores denoting model's confidence that input violates OpenAI's policy for the category.

ModerationCategoryScores

Per category scores denoting model's confidence that input violates OpenAI's policy for the category.

ModerationResponse

The result from the OpenAI's moderation API call.

ModerationResult

The result item from the OpenAI's moderation API call.

OpenAIModerator<TState>

An moderator that uses OpenAI's moderation API.

OpenAIModeratorOptions

Options for the OpenAI Moderator.

Interfaces

IModerator<TState>

A moderator is responsible for reviewing and approving AI prompts and plans.

Enums

AzureContentSafetyTextCategory

Text analyze category for AzureContentSafetyModeratorOptions.

ModerationType

Which parts of the conversation to moderate.