SwiftextensionFoundationModels
extension FoundationModels.Attachment: FoundationModels.PromptRepresentable
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
inherits{}
Members 5
- init
FoundationModels.Attachment<A where A == FoundationModels.ImageAttachmentContent>.init(imageURL: Foundation.URL, orientation: CGImagePropertyOrientation?) -> FoundationModels.Attachment<FoundationModels.ImageAttachmentContent> - init
FoundationModels.Attachment<A where A == FoundationModels.ImageAttachmentContent>.init(_: CGImageRef, orientation: CGImagePropertyOrientation?) -> FoundationModels.Attachment<FoundationModels.ImageAttachmentContent> - init
FoundationModels.Attachment<A where A == FoundationModels.ImageAttachmentContent>.init(_: CVBufferRef, orientation: CGImagePropertyOrientation?) -> FoundationModels.Attachment<FoundationModels.ImageAttachmentContent> - init
FoundationModels.Attachment<A where A == FoundationModels.ImageAttachmentContent>.init(_: CIImage, orientation: CGImagePropertyOrientation?) -> FoundationModels.Attachment<FoundationModels.ImageAttachmentContent> - init
FoundationModels.Attachment<A where A: FoundationModels.CustomAttachmentContent>.init(A) -> FoundationModels.Attachment<A>
Header
extension FoundationModels.Attachment: FoundationModels.PromptRepresentable {}