Data logging
In Chapter 15, Setting Up a Cognitive NLP UI/CUI Chatbot, we took the context of a dialog into account using follow-up intents. However, even follow-up intents will not provide solutions to unexpected answers on the part of a user.
To enhance a dialog, data logging will create a long-term memory for the chatbot by remembering the key aspects of a dialog.
A user and a Dialogflow designer have to agree to the terms of the Google Dialogflow data logging features, as described on this page: https://cloud.google.com/dialogflow/docs/data-logging.
Privacy is a serious matter. However, you will notice that when you use a search engine for a given product, you end up viewing or receiving ads related to the search. This is data logging.
Making this decision depends on your goal and target audience. Suppose the user accepts the terms of the agreement. Now, data logging is activated. Then, data logging will provide the chatbot with long-term memory.
...