SafetySetting

io.cequence.openaiscala.gemini.domain.settings.SafetySetting
case class SafetySetting(category: HarmCategory, threshold: HarmBlockThreshold)

Safety setting, affecting the safety-blocking behavior. Passing a safety setting for a category changes the allowed probability that content is blocked.

Attributes

category

Required. The category for this setting.

threshold

Required. Controls the probability threshold at which harm is blocked.

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product