MLKitSmartReply Framework Reference

  • MLKSmartReply suggests smart replies based on input text.

  • MLKSmartReplySuggestion represents a single reply suggestion.

  • MLKSmartReplySuggestionResult encapsulates the results of the smart reply suggestions.

  • MLKTextMessage is used to represent individual chat messages for input to the Smart Reply system.

Classes

The following classes are available globally.

  • An object that suggests smart replies for given input text.

    Declaration

    Objective-C

    
    @interface MLKSmartReply : NSObject
  • A suggested reply for the given input text.

    Declaration

    Objective-C

    
    @interface MLKSmartReplySuggestion : NSObject
  • An object that contains the smart reply suggestion results.

    Declaration

    Objective-C

    
    @interface MLKSmartReplySuggestionResult : NSObject
  • A single chat message, to be used as an array element for input to Smart Reply.

    Declaration

    Objective-C

    
    @interface MLKTextMessage : NSObject