Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Piebox::AI::AnthropicClient
Inherits
Piebox::AI::Client
<
Reference
<
Object
Constants
API_URL = "https://api.anthropic.com/v1/messages"
Constructors
new
(api_key :
String
, model :
String
= "claude-haiku-4-5-20251001")
Source
Instance methods
generate
(prompt :
String
) :
String
Source