class SmartReply : NSObject
An object that suggests smart replies for given input text.
Gets a smart reply instance that provides suggested replies for input text. This method is thread safe.
class func smartReply() -> SmartReply
SmartReplyinstance that provides suggested replies.
Suggests replies in the context of a chat conversation.
func suggestReplies(for messages: [MLKTextMessage], completion: @escaping SmartReplyCallback)
The sequence of chat messages to generate a suggestion for.
Handler to call back on the main queue with the suggestion result or error.