Chapter 2: Natural Language Understanding in Rasa

In this chapter, we introduce how to implement Natural Language Understanding (NLU) in Rasa.

Rasa NLU is responsible for intent recognition and entity extraction. For example, if the user input is What's the weather like tomorrow in New York?, Rasa NLU needs to extract that the intent of the user is asking for weather, and the corresponding entity names and type, for example, the date is tomorrow, and the location is New York.

Rasa NLU uses supervised learning algorithms to fulfill this function. A proper number of examples including intent and entity information are needed for training the NLU model. Rasa NLU has a very flexible software architecture design and supports various kinds of algorithms. ...

Get Conversational AI with Rasa 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.