com.google.mlkit.nl.smartreply
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
A possible status code for a Smart Reply
suggestion attempt.
Interfaces
A SmartReply
client for suggesting meaningful replies to a user input message.
Classes
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-10-31 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-10-31 UTC."],[[["\u003cp\u003eThe Smart Reply API suggests relevant replies to user messages using a SmartReplyGenerator.\u003c/p\u003e\n"],["\u003cp\u003eSmartReply utilizes TextMessage context from conversations to generate reply suggestions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can customize the SmartReplyGenerator using SmartReplyGeneratorOptions.\u003c/p\u003e\n"],["\u003cp\u003eSmartReplySuggestionResult provides the suggested replies along with a status code indicating the outcome of the suggestion attempt.\u003c/p\u003e\n"],["\u003cp\u003eSmart Reply suggestions are encapsulated in SmartReplySuggestion objects.\u003c/p\u003e\n"]]],[],null,["# com.google.mlkit.nl.smartreply\n\n### Annotations\n\n|--------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|\n| [SmartReplySuggestionResult.Status](/android/reference/com/google/mlkit/nl/smartreply/SmartReplySuggestionResult.Status) | A possible status code for a Smart Reply suggestion attempt. |\n\n### Interfaces\n\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SmartReplyGenerator](/android/reference/com/google/mlkit/nl/smartreply/SmartReplyGenerator) | A [SmartReply](/android/reference/com/google/mlkit/nl/smartreply/SmartReply) client for suggesting meaningful replies to a user input message. |\n\n### Classes\n\n|----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [SmartReply](/android/reference/com/google/mlkit/nl/smartreply/SmartReply) | Entry point to get a [SmartReplyGenerator](/android/reference/com/google/mlkit/nl/smartreply/SmartReplyGenerator) that suggests replies for a given text input. |\n| [SmartReplyGeneratorOptions](/android/reference/com/google/mlkit/nl/smartreply/SmartReplyGeneratorOptions) | Options for [SmartReplyGenerator](/android/reference/com/google/mlkit/nl/smartreply/SmartReplyGenerator). |\n| [SmartReplyGeneratorOptions.Builder](/android/reference/com/google/mlkit/nl/smartreply/SmartReplyGeneratorOptions.Builder) | Builder to create a [SmartReplyGeneratorOptions](/android/reference/com/google/mlkit/nl/smartreply/SmartReplyGeneratorOptions) instance. |\n| [SmartReplySuggestion](/android/reference/com/google/mlkit/nl/smartreply/SmartReplySuggestion) | A suggested reply to a given text. |\n| [SmartReplySuggestionResult](/android/reference/com/google/mlkit/nl/smartreply/SmartReplySuggestionResult) | The suggested result from the [SmartReplyGenerator](/android/reference/com/google/mlkit/nl/smartreply/SmartReplyGenerator) for the given text. |\n| [TextMessage](/android/reference/com/google/mlkit/nl/smartreply/TextMessage) | Represents a text message from a certain user in a conversation, providing context for SmartReply to generate reply suggestions. |"]]