1# Smart reply
2
3<img src="../images/smart_reply.png" class="attempt-right" />
4
5## Get started
6
7Our smart reply model generates reply suggestions based on chat messages. The
8suggestions are intended to be contextually relevant, one-touch responses that
9help the user to easily reply to an incoming message.
10
11<a class="button button-primary" href="https://tfhub.dev/tensorflow/lite-model/smartreply/1/default/1?lite-format=tflite">Download
12starter model</a>
13
14### Sample application
15
16There is a TensorFlow Lite sample application that demonstrates the smart reply
17model on Android.
18
19<a class="button button-primary" href="https://github.com/tensorflow/examples/tree/master/lite/examples/smart_reply/android">View
20Android example</a>
21
22Read the
23[GitHub page](https://github.com/tensorflow/examples/tree/master/lite/examples/smart_reply/android/)
24to learn how the app works. Inside this project, you will also learn how to
25build an app with custom C++ ops.
26
27## How it works
28
29The model generates reply suggestions to conversational chat messages.
30
31The on-device model comes with several benefits. It is:
32<ul>
33  <li>Fast: The model resides on the device and does not require internet connectivity. Thus, inference is very fast and has an average latency of only a few milliseconds.</li>
34  <li>Resource efficient: The model has a small memory footprint on the device.</li>
35  <li>Privacy-friendly: User data never leaves the device.</li>
36</ul>
37
38## Example output
39
40<img alt="Animation showing smart reply" src="images/smart_reply.gif" style="max-width: 300px"/>
41
42## Read more about this
43
44<ul>
45  <li><a href="https://arxiv.org/pdf/1708.00630.pdf">Research paper</a></li>
46  <li><a href="https://github.com/tensorflow/examples/tree/master/lite/examples/smart_reply/android">Source code</a></li>
47</ul>
48
49## Users
50
51<ul>
52  <li><a href="https://www.blog.google/products/gmail/save-time-with-smart-reply-in-gmail/">Gmail</a></li>
53  <li><a href="https://www.blog.google/products/gmail/computer-respond-to-this-email/">Inbox</a></li>
54  <li><a href="https://blog.google/products/allo/google-allo-smarter-messaging-app/">Allo</a></li>
55  <li><a href="https://research.googleblog.com/2017/02/on-device-machine-intelligence.html">Smart Replies on Android Wear</a></li>
56</ul>
57