Entities

Entities add another layer of complexity to natural language conversations making the chatbot more powerful and flexible. Any object of interest in the chatbot's conversations with users can be considered an entity. For instance, in a chatbot dispensing weather information, cities and towns can be considered as entities. Other entities of interest would be the kind of information the user wants: temperature, the possibility of rain, wind speed, and so on. In the case of temperature, the metric that is used, either Fahrenheit or Celsius, can also be treated as entities.

Entities can be organized in terms of parameter names and values. For instance, in the weather domain, you can append to request city-specific weather reports in the ...

Get Hands-On Chatbots and Conversational UI Development 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.