Packages

object ResultsItem extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResultsItem
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

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

    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.

  2. final case class CategoryScores(hate: Double, hate/threatening: Double, harassment: Double, harassment/threatening: Double, selfHarm: Double, selfHarm/intent: Double, selfHarm/instructions: Double, sexual: Double, sexual/minors: Double, violence: Double, violence/graphic: Double) extends Product with Serializable

    category_scores model

    category_scores model

    A list of the categories along with their scores as predicted by model.

    hate

    The score for the category 'hate'.

    hate/threatening

    The score for the category 'hate/threatening'.

    harassment

    The score for the category 'harassment'.

    harassment/threatening

    The score for the category 'harassment/threatening'.

    selfHarm

    The score for the category 'self-harm'.

    selfHarm/intent

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

    selfHarm/instructions

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

    sexual

    The score for the category 'sexual'.

    sexual/minors

    The score for the category 'sexual/minors'.

    violence

    The score for the category 'violence'.

    violence/graphic

    The score for the category 'violence/graphic'.

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 equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. implicit val schema: Schema[ResultsItem]
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. object Categories extends Serializable
  22. object CategoryScores extends Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped