struct

Anthropic::Document::Source

Inherits JSON::Serializable / Anthropic::Resource / Struct / Value / Object

Constructors

new(type : Type, media_type : MediaType, data : String)
Source
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

clone
Source
copy_with(type _type = @type, media_type _media_type = @media_type, data _data = @data)
Source
data
media_type
type

Nested types