CategoryScores

@Serializable
class CategoryScores(    val hate: Double,     val hateThreatening: Double,     val selfHarm: Double,     val sexual: Double,     val sexualMinors: Double,     val violence: Double,     val violenceGraphic: Double,     val harassment: Double,     val harassmentThreatening: Double,     val selfHarmIntent: Double,     val selfHarmInstructions: Double)

Constructors

Link copied to clipboard
constructor(    hate: Double,     hateThreatening: Double,     selfHarm: Double,     sexual: Double,     sexualMinors: Double,     violence: Double,     violenceGraphic: Double,     harassment: Double,     harassmentThreatening: Double,     selfHarmIntent: Double,     selfHarmInstructions: Double)

Properties

Link copied to clipboard
@SerialName(value = "harassment")
val harassment: Double

The score for the category 'harassment'.

Link copied to clipboard
@SerialName(value = "harassment/threatening")
val harassmentThreatening: Double

The score for the category 'harassment/threatening'.

Link copied to clipboard
@SerialName(value = "hate")
val hate: Double

Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.

Link copied to clipboard
@SerialName(value = "hate/threatening")
val hateThreatening: Double

Hateful content that also includes violence or serious harm towards the targeted group.

Link copied to clipboard
@SerialName(value = "self-harm")
val selfHarm: Double

Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.

Link copied to clipboard
@SerialName(value = "self-harm/instructions")
val selfHarmInstructions: Double

The score for the category 'self-harm/instructions'.

Link copied to clipboard
@SerialName(value = "self-harm/intent")
val selfHarmIntent: Double

The score for the category 'self-harm/intent'.

Link copied to clipboard
@SerialName(value = "sexual")
val sexual: Double

Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).

Link copied to clipboard
@SerialName(value = "sexual/minors")
val sexualMinors: Double

Sexual content that includes an individual who is under 18 years old.

Link copied to clipboard
@SerialName(value = "violence")
val violence: Double

Content that promotes or glorifies violence or celebrates the suffering or humiliation of others.

Link copied to clipboard
@SerialName(value = "violence/graphic")
val violenceGraphic: Double

Violent content that depicts death, violence, or serious physical injury in extreme graphic detail.