SmartReply

public class SmartReply extends Object

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
getClient(SmartReplyGeneratorOptions options)
Returns a new SmartReplyGenerator that suggests replies for a given text input.
static SmartReplyGenerator
getClient()
Returns a new SmartReplyGenerator that suggests replies for a given text input.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.