Moderation
data class Moderation(val action: ModerationAction, val originalText: String, val textHarms: List<String>, val imageHarms: List<String>, val blocklistMatched: String?, val semanticFilterMatched: String?, val platformCircumvented: Boolean)
Model holding data for a message moderated by Moderation V2.
Properties
Link copied to clipboard
The action taken by the moderation system.
Link copied to clipboard
The blocklist matched by the message.
Link copied to clipboard
The list of harmful images detected in the message.
Link copied to clipboard
The original text of the message.
Link copied to clipboard
true/false if the message triggered the platform circumvention model.
Link copied to clipboard
The semantic filter matched by the message.