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
abstract struct
Anthropic::
GeneratedMessage::
Content
Anthropic::GeneratedMessage::Content
Struct
Value
Object
Included Modules
Anthropic::Resource
JSON::Serializable
Extended Modules
JSON::Schema
Direct Known Subclasses
Anthropic::GeneratedMessage::Text
Anthropic::GeneratedMessage::ToolUse
Defined in:
generated_message.cr
Constructors
.new
(pull : JSON::PullParser)
Instance Method Summary
#type
: Type
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
type
:
Type
#
[
View source
]