class Claude::Anthropic

Defined in:

claude/anthropic.cr
claude/anthropic/message.cr

Constant Summary

API_URL_BASE = "https://api.anthropic.com/v1"

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def api_url_base : String #

[View source]
def messages(model, messages, system_message = nil, max_tokens = 1024, metadata = nil, sto_sequence = nil, stream = false, temperature = nil, top_p = nil, top_k = nil) #

[View source]