Action

Until now, we have dealt with interpreting the user's request; now it is a matter of answering. In reality, the concept is broader; once we have understood a request, we can fulfill it, for example, by booking the room, opening a ticket, or communicating with the restaurant. But if what we are making is a chatbot, the answer will probably correspond to the action.

An action corresponds to the step your application will take when a specific intent has been triggered by a user's input. Both the action name and its parameters are defined in the action section of an intent.

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.