struct Google::GenerativeAI::GenerateContentResponse::Candidate

Included Modules

Extended Modules

Defined in:

gemini.cr

Constructors

Instance Method Summary

Macros inherited from module Google::Resource

field(var, key = nil, **options, &block) field, field!(var, key = nil, **options, &block) field!, field?(var, key = nil, **options, &block) field?

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(pull : MessagePack::Unpacker) #

Instance Method Detail

def content : Content #

def finish_reason : String #

def index : Int64 | Nil #

def safety_ratings : Array(SafetyRating) #

def to_s(io) : Nil #

[View source]