struct Anthropic::Message
- Anthropic::Message
- Struct
- Value
- Object
Included Modules
- Anthropic::Resource
- JSON::Serializable
Extended Modules
- JSON::Schema
Defined in:
message.crConstructors
- .new(pull : JSON::PullParser)
- .new(content : String, role : Role = :user)
- .new(content : Array(Anthropic::MessageContent), role : Anthropic::Message::Role = :user)