SwiftprotocolHomeKit
SentenceSummarizing
protocol HomeKit.SentenceSummarizing
Members 3
- func
method descriptor for summarize(sentences: [String], prompt: String?, instructions: String?) async throws -> String - func
method descriptor for summarize(events: [HomeKit.NotificationEvent], prompt: String?, instructions: String?) async throws -> String - func
summarize(events: [HomeKit.NotificationEvent], prompt: String?, instructions: String?) async throws -> String
Header
protocol SentenceSummarizing { func summarize(sentences: [Swift.String], prompt: Swift.String?, instructions: Swift.String?) async throws -> Swift.String func summarize(events: [HomeKit.NotificationEvent], prompt: Swift.String?, instructions: Swift.String?) async throws -> Swift.String } extension HomeKit.SentenceSummarizing { func summarize(events: [HomeKit.NotificationEvent], prompt: Swift.String?, instructions: Swift.String?) async throws -> Swift.String }