Overview
ZEGOCLOUD In-app Chat (ZIM) supports content moderation for messages. Currently, there are two ways to meet your moderation needs:
-
(Recommended) You can enable and use the built-in content moderation capability in ZIM. This allows you to quickly moderate text messages, image messages, voice messages, and video messages without additional development. Additionally, ZIM supports custom sensitive word lists to customize the text message moderation.
-
If you prefer to moderate messages by yourself or integrate with a third-party content moderation service, you can use the Callback on message not sent yet.
Built-in content moderation capability
After contacting ZEGOCLOUD technical support to enable the content moderation service, you can obtain the content moderation capability without additional configuration. ZIM will return the moderation results based on the preset moderation level, and you only need to implement relevant business logic based on the results.
The following table provides to an introduction to content moderation capability:
Message Type | Moderation Method | Moderation Channel | Moderation Tags |
---|---|---|---|
Text Message | Moderate before sending |
| Default detection of the following content: politics, terrorism, prohibition, erotic, abuse, advertisement, privacy, advertising law violations, etc. If adjustments are needed, please contact ZEGOCLOUD technical support. |
Image Message |
|
| Default detection of the following content: politics, pornography, terrorism, QR code, advertisement, etc. Additionally, it can support identifying whether the text in the image is in violation. If adjustments are needed, please contact ZEGOCLOUD technical support. |
Audio Message | Moderate before sending |
| Default detection of the following content: politics, pornography, terrorism, etc. Additionally, it can support identifying the following content: statesman voiceprints, advertisement, prohibition, abuse, etc. If adjustments are needed, please contact ZEGOCLOUD technical support. |
Video Message | Moderate before sending |
| Video moderation includes the moderation of images and audio in the video.
|
-
Explanation of Moderation Methods:
- Moderate before sending: ZIM moderates the message before sending it. If the moderation passes, the message is sent successfully; if the moderation fails, the message fails to be sent.
- Send before moderation: ZIM sends the message first and then moderates it. If the moderation passes, the message is displayed normally; if the moderation fails, the message is withdrawn.
-
When using the content moderation service, you can configure corresponding moderation tags and thresholds based on the moderation channels. For example, in some social scenarios, stricter thresholds and tags are used for group chats, while looser thresholds and tags are used for one-on-one chats.
-
Different moderation level can be configured based on the moderation results. The moderation results are divided into "pass," "uncertain," and "fail."
- If you set the moderation intensity to "Weak Moderation": When the result is "uncertain," ZIM will still send the message.
- If you set the moderation intensity to "Strong Moderation": When the result is "uncertain," ZIM will stop sending the message.
To understand the full process including enabling and using the content moderation service, please refer to the instruction.
Customize sensitive word lists
If the default sensitive words used for the built-in text message moderation capability do not satisfy your demands, you can customize word lists.
To use this feature, please contact ZEGOCLOUD technical support.
After the customization is completed, ZIM will process the content in user messages that matches the list. Currently, ZIM provides three processing strategies:
Processing Strategy | Description | Examples | ||
---|---|---|---|---|
Sensitive Words | Original Text | Result | ||
Block Sensitive Words | If a message contains sensitive words, the message will be blocked and the sending will fail. | Hello | Hello, welcome. | Send failed. |
Replace Sensitive Words | If a message contains sensitive words, ZIM will replace the sensitive words with other content and send the message. The receiving user will see the replaced content. | Hello | Hello, welcome. | **, welcome. |
Send Original Text | Even if a message contains sensitive words, ZIM will still send the message. | Hello | Hello, welcome. | Hello, welcome. |
Pricing
Please contact ZEGOCLOUD business personnel for pricing details.