SafetyRating
io.cequence.openaiscala.gemini.domain.response.SafetyRating
case class SafetyRating(category: HarmCategory, probability: HarmProbability, blocked: Option[Boolean])
Safety rating for a piece of content. The safety rating contains the category of harm and the harm probability level in that category for a piece of content. Content is classified for safety across a number of harm categories and the probability of the harm classification is included here.
Attributes
- blocked
Was this content blocked because of this rating?
- category
The category for this rating.
- probability
The probability of harm for this content.
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any