struct Anthropic::Image

Defined in:

message_content.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor methods inherited from struct Anthropic::TextOrImageContent

new(pull : JSON::PullParser) new

Instance methods inherited from struct Anthropic::MessageContent

type : String type

Constructor methods inherited from struct Anthropic::MessageContent

new(pull : JSON::PullParser) new

Constructor Detail

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

def self.new(*, type : Source::Type, media_type : Source::MediaType, data : String) #

Class Method Detail

def self.base64(media_type : Source::MediaType, data : String) #

Instance Method Detail

def source : Source #

def type : String #