Class SafetySetting
Safety setting, affecting the safety-blocking behavior. Passing a safety setting for a category changes the allowed probability that content is blocked.
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
[Serializable]
public class SafetySetting
Fields
| Edit this page View SourceCategory
Required. The category for this setting.
Declaration
[SerializeField]
[JsonProperty("category")]
public HarmCategory Category
Field Value
| Type | Description |
|---|---|
| HarmCategory |
Threshold
Required. Controls the probability threshold at which harm is blocked.
Declaration
[SerializeField]
[JsonProperty("threshold")]
public HarmBlockThreshold Threshold
Field Value
| Type | Description |
|---|---|
| HarmBlockThreshold |