Packages

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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Categories
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  9. val harassment: Boolean
  10. val harassment/threatening: Boolean
  11. val hate: Boolean
  12. val hate/threatening: Boolean
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val selfHarm: Boolean
  19. val selfHarm/instructions: Boolean
  20. val selfHarm/intent: Boolean
  21. val sexual: Boolean
  22. val sexual/minors: Boolean
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. val violence: Boolean
  25. val violence/graphic: Boolean
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped