Table of Contents

Class SafetySetting

Namespace
Glitch9.AIDevKit

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

[Serializable]
public class SafetySetting
Inheritance
object
SafetySetting

Fields

Category

Required. The category for this setting.

public HarmCategory Category

Field Value

HarmCategory

Threshold

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

public HarmBlockThreshold Threshold

Field Value

HarmBlockThreshold