MLKitSmartReply Framework Reference

  • SmartReply suggests smart replies based on provided input text.

  • SmartReplySuggestion represents a single reply suggestion.

  • SmartReplySuggestionResult encompasses the overall suggestion results.

  • TextMessage is used to structure individual chat messages for Smart Reply input.

Classes

The following classes are available globally.

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

    Declaration

    Swift

    class SmartReply : NSObject
  • A suggested reply for the given input text.

    Declaration

    Swift

    class SmartReplySuggestion : NSObject
  • An object that contains the smart reply suggestion results.

    Declaration

    Swift

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

    Declaration

    Swift

    class TextMessage : NSObject