Class DecisionBlockReasons
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Known values of BlockReason.
public static class DecisionBlockReasons
- Inheritance
-
DecisionBlockReasons
- Inherited Members
Fields
Blocklist
Blocked because of terms on the blocklist.
public const string Blocklist = "blocklist"
Field Value
ImageSafety
Blocked because of unsafe image content.
public const string ImageSafety = "image_safety"
Field Value
Other
Blocked for other reasons.
public const string Other = "other"
Field Value
ProhibitedContent
Blocked because of prohibited content.
public const string ProhibitedContent = "prohibited_content"
Field Value
Safety
Blocked for safety reasons.
public const string Safety = "safety"