Instance Propertymacpaw.openai 0.3.8OpenAI
reasoningContent
The reasoning content of the chunk message. Only some model are supported, like DeepSeek-R1.
let reasoningContent: String?
The reasoning content of the chunk message. Only some model are supported, like DeepSeek-R1.
let reasoningContent: String?
s6OpenAI16ChatStreamResultV6ChoiceV0F5DeltaV16reasoningContentSSSgvp
What are these?57L1E
import OpenAI
struct ChoiceDelta
struct ChatStreamResult
struct Choice
@frozen struct String
A Unicode string value that is a collection of characters.
init(from decoder: any Decoder) throws
let content: String?
The contents of the chunk message.
let role: Self.Role?
The role of the author of this message.
let toolCalls: [Self.ChoiceDeltaToolCall]?
struct ChoiceDeltaToolCall
enum CodingKeys
typealias Role = ChatQuery.ChatCompletionMessageParam.Role