object ResultsItem extends Serializable
- Alphabetic
- By Inheritance
- ResultsItem
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- 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.
- 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
- 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 equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- implicit val schema: Schema[ResultsItem]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- object Categories extends Serializable
- object CategoryScores extends Serializable