Initializermacpaw.openai 0.3.2OpenAI
init(from:)
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
s6OpenAI22RunRetrieveStepsResultV19StepDetailsTopLevelV0gh6SecondJ0V8ToolCallV4fromAIs7Decoder_p_tKcfc
What are these?23HK3
import OpenAI
struct ToolCall
struct RunRetrieveStepsResult
struct StepDetailsTopLevel
struct StepDetailsSecondLevel
protocol Decoder
A type that can decode values from a native format into in-memory representations.
let codeInterpreter: CodeInterpreterCall?
let function: FunctionCall?
let id: String
let type: ToolType
struct CodeInterpreterCall
struct FunctionCall
enum ToolType