zio.openai.model.CreateModerationResponse.ResultsItem
CategoryScores
Companion object CategoryScores
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
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'.
- Alphabetic
- By Inheritance
- CategoryScores
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new 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)
- 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 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: Double
- val harassment/threatening: Double
- val hate: Double
- val hate/threatening: Double
- 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: Double
- val selfHarm/instructions: Double
- val selfHarm/intent: Double
- val sexual: Double
- val sexual/minors: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val violence: Double
- val violence/graphic: Double
- 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()