Structuremacpaw.openai 0.3.3OpenAI
ThreadsMessage
ThreadsMessagesResult.swift:12struct ThreadsMessage
struct ThreadsMessage
import OpenAI
struct ThreadsMessagesResult
init(from decoder: any Decoder) throws
let data: [ThreadsMessage]
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
init(from decoder: any Decoder) throws
let content: [ThreadsMessageContent]
let id: String
let role: ChatQuery.ChatCompletionMessageParam.Role
struct ThreadsMessageContent
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.