Skip to content

ContentPolicyCategoryScore

MarcoDotIO edited this page Dec 5, 2022 · 1 revision

ContentPolicyCategoryScore

The moderation score amount associated with a prompt.

public struct ContentPolicyCategoryScore: Codable 

Inheritance

Codable

Properties

hate

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

public let hate: Double

hateWithThreatening

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

public let hateWithThreatening: Double

selfHarm

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

public let selfHarm: Double

sexual

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

public let sexual: Double

sexualWithMinors

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

public let sexualWithMinors: Double

violence

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

public let violence: Double

violenceWithGraphic

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

public let violenceWithGraphic: Double
Types
Global Functions
Clone this wiki locally