Structuremacpaw.openai 0.3.2OpenAI
MessageQuery
MessageQuery.swift:10struct MessageQuery
struct MessageQuery
import OpenAI
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
init(role: ChatQuery.ChatCompletionMessageParam.Role, content: String, fileIds: [String]? = nil)
let content: String
let fileIds: [String]?
let role: ChatQuery.ChatCompletionMessageParam.Role
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.