Chatbots are another example of an application that lends itself very well to RNN models. Figure Sequence tagging with traditional LSTM shows an example of a chatbot application built with the Seq2Seq model, which was described in the preceding section. Chatbots can be understood as a special case of machine translation, where the target language is replaced with a vocabulary of responses for each possible question in the chatbot knowledge base:

Chatbot with Seq2Seq LSTM

Get Deep Learning Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.