How will you build the automatic/smart reply feature on an app like gmail or linkedIn?

  • Generating replies on the fly: Smart Reply can be built using sequence to sequence modeling. An incoming mail acts as the input to the model and the reply will be the output of the model. Encoder-Decoder architecture is also often used for sequence to sequence task such as smart reply
  • Picking one of the pre-existing templates: Given a set of incoming e-mails and their corresponding short replies, one can train a classifier to pick a few of the templated replies for each new incoming email.