MLKitSmartReply Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003eSmartReply suggests smart replies based on provided input text.\u003c/p\u003e\n"],["\u003cp\u003eSmartReplySuggestion represents a single reply suggestion.\u003c/p\u003e\n"],["\u003cp\u003eSmartReplySuggestionResult encompasses the overall suggestion results.\u003c/p\u003e\n"],["\u003cp\u003eTextMessage is used to structure individual chat messages for Smart Reply input.\u003c/p\u003e\n"]]],[],null,["# MLKitSmartReply Framework Reference\n\nClasses\n=======\n\nThe following classes are available globally.\n- `\n ``\n ``\n `\n\n ### [SmartReply](/ml-kit/reference/swift/mlkitsmartreply/api/reference/Classes/SmartReply)\n\n `\n ` \n An object that suggests smart replies for given input text. \n\n #### Declaration\n\n Swift \n\n class SmartReply : NSObject\n\n- `\n ``\n ``\n `\n\n ### [SmartReplySuggestion](/ml-kit/reference/swift/mlkitsmartreply/api/reference/Classes/SmartReplySuggestion)\n\n `\n ` \n A suggested reply for the given input text. \n\n #### Declaration\n\n Swift \n\n class SmartReplySuggestion : NSObject\n\n- `\n ``\n ``\n `\n\n ### [SmartReplySuggestionResult](/ml-kit/reference/swift/mlkitsmartreply/api/reference/Classes/SmartReplySuggestionResult)\n\n `\n ` \n An object that contains the smart reply suggestion results. \n\n #### Declaration\n\n Swift \n\n class SmartReplySuggestionResult : NSObject\n\n- `\n ``\n ``\n `\n\n ### [TextMessage](/ml-kit/reference/swift/mlkitsmartreply/api/reference/Classes/TextMessage)\n\n `\n ` \n A single chat message, to be used as an array element for input to Smart Reply. \n\n #### Declaration\n\n Swift \n\n class TextMessage : NSObject"]]