Table of Contents

Enum GeminiSafetyHarmBlockThreshold

Block at and beyond a specified harm probability.

public enum GeminiSafetyHarmBlockThreshold
Extension Methods

Fields

[EnumMember(Value = "BLOCK_LOW_AND_ABOVE")] LowAndAbove = 1

Content with Negligible will be allowed.

[EnumMember(Value = "BLOCK_MEDIUM_AND_ABOVE")] MediumAndAbove = 2

Content with Negligible and Low will be allowed.

[EnumMember(Value = "BLOCK_NONE")] None = 4

All content will be allowed.

[EnumMember(Value = "OFF")] Off = 5

Turn off the safety filter.

[EnumMember(Value = "BLOCK_ONLY_HIGH")] OnlyHigh = 3

Content with Negligible, Low, and Medium will be allowed.

[EnumMember(Value = "HARM_BLOCK_THRESHOLD_UNSPECIFIED")] Unspecified = 0

Threshold is unspecified.