Custom categories (rapid)
In content moderation scenarios, custom categories (rapid) is the process of identifying, analyzing, containing, eradicating, and recovering from cyber incidents that involve inappropriate or harmful content on online platforms.
An incident may involve a set of emerging content patterns (text, image, or other modalities) that violate Microsoft community guidelines or the customers' own policies and expectations. These incidents need to be mitigated quickly and accurately to avoid potential live site issues or harm to users and communities.
Custom categories (rapid) API features
One way to deal with emerging content incidents is to use Blocklists, but that only allows exact text matching and no image matching. The Azure AI Content Safety custom categories (rapid) API offers the following advanced capabilities:
- semantic text matching using embedding search with a lightweight classifier
- image matching with a lightweight object-tracking model and embedding search.
How it works
First, you use the API to create an incident object with a description. Then you add any number of image or text samples to the incident. No training step is needed.
Then, you can include your defined incident in a regular text analysis or image analysis request. The service will indicate whether the submitted content is an instance of your incident. The service can still do other content moderation tasks in the same API call.
Limitations
Language availability
The text custom categories (rapid) API supports all languages that are supported by Content Safety text moderation. See Language support.
Input limitations
See the following table for the input limitations of the custom categories (rapid) API:
Object | Limitation |
---|---|
Maximum length of an incident name | 100 characters |
Maximum number of text/image samples per incident | 1000 |
Maximum size of each sample | Text: 500 characters Image: 4 MB  |
Maximum number of text or image incidents per resource | 100 |
Supported Image formats | BMP, GIF, JPEG, PNG, TIF, WEBP |
Region availability
To use this API, you must create your Azure AI Content Safety resource in one of the supported regions. See Region availability.
Next steps
Follow the how-to guide to use the Azure AI Content Safety custom categories (rapid) API.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for