abstract class Anthropic::TextOrImageContent

Direct Known Subclasses

Defined in:

message_content.cr

Constructors

Instance methods inherited from class Anthropic::MessageContent

cache_control : CacheControl | Nil cache_control, cache_control!(cache_control : CacheControl | Nil = CacheControl.new) : self cache_control!, cache_control=(cache_control : CacheControl | Nil) cache_control=, no_cache_control! : self no_cache_control!, type : String type

Constructor methods inherited from class Anthropic::MessageContent

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]