Page Summary
-
SmartReply is the entry point to get a SmartReplyGenerator that suggests replies for text input.
-
A SmartReplyGenerator is created using the getClient() method.
-
The getClient() method has overloaded versions, one with SmartReplyGeneratorOptions and one without.
-
To release resources, SmartReplyGenerator.close() must be called on the SmartReplyGenerator instance.
Entry point to get a SmartReplyGenerator
that suggests replies for a given text input.
A SmartReplyGenerator
is created via getClient()
.
Example:
SmartReplyGenerator smartReplyGenerator = SmartReply.getClient();
Public Method Summary
| static SmartReplyGenerator | |
| static SmartReplyGenerator |
Inherited Method Summary
Public Methods
public static SmartReplyGenerator getClient ( SmartReplyGeneratorOptions options)
Returns a new SmartReplyGenerator
that suggests replies for a given text input.
public static SmartReplyGenerator getClient ()
Returns a new SmartReplyGenerator
that suggests replies for a given text input.
To release the resources associated with an SmartReplyGenerator
,
you need to ensure that SmartReplyGenerator.close()
is called on the resulting SmartReplyGenerator
instance once it will no longer be used.


