Thresholds

data class Thresholds(@Json(name = "explicit") val explicit: LabelThresholds? = null, @Json(name = "spam") val spam: LabelThresholds? = null, @Json(name = "toxic") val toxic: LabelThresholds? = null)

Sets thresholds for AI moderation

Parameters

explicit
spam
toxic

Constructors

Link copied to clipboard
constructor(@Json(name = "explicit") explicit: LabelThresholds? = null, @Json(name = "spam") spam: LabelThresholds? = null, @Json(name = "toxic") toxic: LabelThresholds? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val spam: LabelThresholds? = null
Link copied to clipboard
val toxic: LabelThresholds? = null