struct Anthropic::Messages::MessageContentTransformer

Defined in:

messages.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def call(contents : Array(MessageContent)) : Array(MessageContent) #

[View source]
def call(contents : Array) : Array(MessageContent) #

[View source]
def call(content : MessageContent) : Array(MessageContent) #

[View source]
def call(string : String) : Array(MessageContent) #

[View source]
def call(nothing : Nil) : Nil #

[View source]
def initialize #

[View source]