Chatbots architecture

The main module of a chatbot is the dialogue manager. This module controls the flow of human-machine interaction. It receives the user's request as input and decides what the system's response should be. It will memorize the dialogue context in some form, for example, through pairs of key values, to manage the conversation on several steps between the user and the system.

For the dialogue manager to be able to choose the right answer for the request made by the user, it is necessary to understand the user's intention. In the most advanced chatbots, which are able to understand human language, the user's expressions will be translated into a semantic representation consisting of user intent and entity. This operation ...

Get Hands-On Machine Learning on Google Cloud Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.