class

Anthropic::Document

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

Constructors

new(*, data : String, cache_control = nil)
Source

Class methods

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

Instance methods

source
Source
type
Source

Nested types