Table of Contents

Enum GeminiSafetyThreshold

Namespace
Mythosia.AI.Models.Enums
Assembly
Mythosia.AI.Abstractions.dll

Configurable Gemini harm-blocking thresholds. ProviderDefault omits the category from the request so that the selected model's current Google default applies.

public enum GeminiSafetyThreshold

Fields

BlockLowAndAbove = 5
BlockMediumAndAbove = 4
BlockNone = 2
BlockOnlyHigh = 3
Off = 1
ProviderDefault = 0