Part
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
public protocol Part : PartsRepresentable, Decodable, Encodable, Equatable, Sendable
A discrete piece of data in a media format interpretable by an AI model.
Within a single value of Part
, different data types may not mix.
-
partsValue
Undocumented
Declaration
Swift
var partsValue: [any Part] { get }