class

Anthropic::Image

Inherits Anthropic::TextOrImageContent / Anthropic::MessageContent / JSON::Serializable / Anthropic::Resource / Reference / Object

Constructors

new(*, type : Source::Type, media_type : Source::MediaType, data : String, cache_control = nil)
Source

Class methods

base64(media_type : Source::MediaType, data : String, cache_control : CacheControl | Nil = nil)
Source

Instance methods

source
Source
type
Source

Nested types