enum Gemini::BlockReason

Overview

Specifies the reason why the prompt was blocked.

API Reference

Defined in:

gemini/types.cr

Enum Members

BlockReasonUnspecified = 0
Safety = 1
Other = 2
Blocklist = 3
ProhibitedContent = 4

Instance Method Summary

Instance Method Detail

def block_reason_unspecified? #

def blocklist? #

def other? #

def prohibited_content? #

def safety? #