Intents

The intent of a user is their purpose, the ultimate goal. Examples are ordering something, wanting to activate something on the user window, looking for shows, or simply saying goodbye. A chatbot should be able to perform some actions based on the intent it detects from the user's message.

Suppose we want to create a chatbot for a store that sells IT-related products. As a preliminary procedure, it is necessary to consider what actions the chatbot will be able to execute once requested by the user. For example, the chatbot will need to respond to the user with appropriate information when a user asks to see the products the store sells by supplying it: I want to buy a mouse. Similarly, when the user sends a message, such as Looking ...

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.