《Building Chatbots with Python》Chpater4 Build Chatbots The Hard Way

1.What Is Rasa NLU?

(1) an open-source NLP library for intent classification and entity extraction in chatbots.

(2) without using any cloud services like Dialogflow, Watson, wit.ai, etc.

(3) two parts of Rasa that we'll be covering in this chapter:

a.Rasa NLU: With Rasa NLU we'll be learning to prepare our training data for our chatbot, writing configuration files, choosing a pipline and training the model. Lastly, we will be predicting the intent of a text using our model. We'll also be learning how to parse entities using Rasa NLU.

b.Rasa Core: train the Rasa Core dialog management to prepare reponses back to the user. This section becomes very important when you have a variety of intents in your chatbot and their follow-up questions or responses. Instead of writing lots of conditions in our decision tree and spending hours debugging it in case of a big enterprise-level application, it's better to teach the model to create responses. 

猜你喜欢

转载自blog.csdn.net/lieslyang/article/details/86502055
今日推荐