struct

Crig::Providers::OpenAI::InputContent

Inherits Struct < Value < Object

Constructors

from_json_value(value : JSON::Any) : self
Source
function_call(function_call : OutputFunctionCall) : self
Source
function_call_output(function_call_output : ToolResult) : self
Source
message(message : Message) : self
Source
new(kind : Kind, message : Message | Nil = nil, reasoning : OpenAIReasoning | Nil = nil, function_call : OutputFunctionCall | Nil = nil, function_call_output : ToolResult | Nil = nil)
Source
reasoning(reasoning : OpenAIReasoning) : self
Source

Instance methods

function_call
Source
function_call_output
Source
kind
Source
message
Source
reasoning
Source
to_json_value
Source

Nested types