Azure.AI.ContentSafety Namespace

Classes

AddBlockItemsOptions

The request of adding blockItems to text blocklist.

AddBlockItemsResult

The response of adding blockItems to text blocklist.

AddOrUpdateTextBlocklistItemsOptions

The request to add blocklistItems to a text blocklist.

AddOrUpdateTextBlocklistItemsResult

The response of adding blocklistItems to the text blocklist.

AnalyzeImageOptions

The image analysis request.

AnalyzeImageResult

The image analysis response.

AnalyzeTextOptions

The text analysis request.

AnalyzeTextResult

The text analysis response.

BlocklistClient

The Blocklist service client.

ContentSafetyClient

The ContentSafety service client.

ContentSafetyClientOptions

ContentSafety client options.

ContentSafetyImageData

The image can be either base64 encoded bytes or a blob URL. You can choose only one of these options. If both are provided, the request will be refused. The maximum image size is 2048 x 2048 pixels and should not exceed 4 MB, while the minimum image size is 50 x 50 pixels.

ContentSafetyModelFactory

ContentSafety model factory.

ImageAnalyzeSeverityResult

Image analysis result.

ImageCategoriesAnalysis

Image analysis result.

ImageData

The content or blob url of image, could be base64 encoding bytes or blob url. If both are given, the request will be refused. The maximum size of image is 2048 pixels * 2048 pixels, no larger than 4MB at the same time. The minimum size of image is 50 pixels * 50 pixels.

RemoveBlockItemsOptions

The request of removing blockItems from text blocklist.

RemoveTextBlocklistItemsOptions

The request to remove blocklistItems from a text blocklist.

TextAnalyzeSeverityResult

Text analysis result.

TextBlockItem

Item in TextBlocklist.

TextBlockItemInfo

Block item info in text blocklist.

TextBlocklist

Text Blocklist.

TextBlocklistItem

Item in a TextBlocklist.

TextBlocklistMatch

The result of blocklist match.

TextBlocklistMatchResult

The result of blocklist match.

TextCategoriesAnalysis

Text analysis result.

Structs

AnalyzeImageOutputType

The type of image analysis output.

AnalyzeTextOutputType

The type of text analysis output.

ImageCategory

Image analyze category.

TextCategory

Text analyze category.

Enums

ContentSafetyClientOptions.ServiceVersion

The version of the service to use.