Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::OpenAI::Output
Inherits
Struct
<
Value
<
Object
Constructors
from_json_value
(value :
JSON::Any
) : self
Source
new
(kind :
Kind
, message :
OutputMessage
|
Nil
= nil, function_call :
OutputFunctionCall
|
Nil
= nil, reasoning :
OutputReasoning
|
Nil
= nil, raw_value :
JSON::Any
|
Nil
= nil)
Source
Instance methods
function_call
Source
kind
Source
message
Source
message_id
Source
raw_value
Source
reasoning
Source
to_assistant_content
Source
to_json_value
Source
Nested types
Crig::Providers::OpenAI::Output::Kind