Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Anthropic::MessageStart
Inherits
Struct
<
Value
<
Object
Constructors
from_json_value
(value :
JSON::Any
) : self
Source
new
(id :
String
, role :
String
, content :
Array
(
Content
), model :
String
, usage :
Usage
, stop_reason :
String
|
Nil
= nil, stop_sequence :
String
|
Nil
= nil)
Source
Instance methods
content
Source
id
Source
model
Source
role
Source
stop_reason
Source
stop_sequence
Source
usage
Source