Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
anthropic
main
Anthropic
CacheControl
Type
Client
ContentBlockDelta
ContentBlockStart
ContentBlock
ContentBlockStop
Error
APIError
AuthenticationError
InvalidRequestError
NotFoundError
OverloadedError
PermissionError
RateLimitError
Response
Error
Event
EventMessage
EventSource
GeneratedMessage
Content
Type
StopReason
Text
ToolUse
PossibleSchema
Schema
Usage
Image
Source
MediaType
Type
Message
Role
MessageContent
MessageDelta
Delta
Usage
Messages
Body
MessageContentTransformer
Query
Request
MessageStart
MessageStop
MessageStream
Model
Ping
Resource
Text
TextDelta
TextOrImageContent
Tool
Handler
ToolResult
ToolUse
Generated using Crystal 1.14.0
2024-11-26 08:19:35 UTC
struct
Anthropic::
Messages::
Query
Anthropic::Messages::Query
Struct
Value
Object
Included Modules
Anthropic::Resource
JSON::Serializable
Extended Modules
JSON::Schema
Defined in:
messages.cr
Constructors
.new
(pull : JSON::PullParser)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#