final case class Categories(hate: Boolean, hate/threatening: Boolean, harassment: Boolean, harassment/threatening: Boolean, selfHarm: Boolean, selfHarm/intent: Boolean, selfHarm/instructions: Boolean, sexual: Boolean, sexual/minors: Boolean, violence: Boolean, violence/graphic: Boolean) extends Product with Serializable
categories model
A list of the categories, and whether they are flagged or not.
- hate
Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harrassment.
- hate/threatening
Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.
- harassment
Content that expresses, incites, or promotes harassing language towards any target.
- harassment/threatening
Harassment content that also includes violence or serious harm towards any target.
- selfHarm
Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
- selfHarm/intent
Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders.
- selfHarm/instructions
Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts.
- sexual
Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).
- sexual/minors
Sexual content that includes an individual who is under 18 years old.
- violence
Content that depicts death, violence, or physical injury.
- violence/graphic
Content that depicts death, violence, or physical injury in graphic detail.
- Alphabetic
- By Inheritance
- Categories
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Categories(hate: Boolean, hate/threatening: Boolean, harassment: Boolean, harassment/threatening: Boolean, selfHarm: Boolean, selfHarm/intent: Boolean, selfHarm/instructions: Boolean, sexual: Boolean, sexual/minors: Boolean, violence: Boolean, violence/graphic: Boolean)
- hate
Content that expresses, incites, or promotes hate based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste. Hateful content aimed at non-protected groups (e.g., chess players) is harrassment.
- hate/threatening
Hateful content that also includes violence or serious harm towards the targeted group based on race, gender, ethnicity, religion, nationality, sexual orientation, disability status, or caste.
- harassment
Content that expresses, incites, or promotes harassing language towards any target.
- harassment/threatening
Harassment content that also includes violence or serious harm towards any target.
- selfHarm
Content that promotes, encourages, or depicts acts of self-harm, such as suicide, cutting, and eating disorders.
- selfHarm/intent
Content where the speaker expresses that they are engaging or intend to engage in acts of self-harm, such as suicide, cutting, and eating disorders.
- selfHarm/instructions
Content that encourages performing acts of self-harm, such as suicide, cutting, and eating disorders, or that gives instructions or advice on how to commit such acts.
- sexual
Content meant to arouse sexual excitement, such as the description of sexual activity, or that promotes sexual services (excluding sex education and wellness).
- sexual/minors
Sexual content that includes an individual who is under 18 years old.
- violence
Content that depicts death, violence, or physical injury.
- violence/graphic
Content that depicts death, violence, or physical injury in graphic detail.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val harassment: Boolean
- val harassment/threatening: Boolean
- val hate: Boolean
- val hate/threatening: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val selfHarm: Boolean
- val selfHarm/instructions: Boolean
- val selfHarm/intent: Boolean
- val sexual: Boolean
- val sexual/minors: Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val violence: Boolean
- val violence/graphic: Boolean
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()