July 2017
Beginner to intermediate
486 pages
13h 49m
English
Here, we will see how we can build a core engine for a chatbot application which can help a loan applicant to apply for the same. We are generating output in JSON format, so any front-end developer can integrate this output on a website.
Here, I'm using the flask web framework and making web services for each question that our chatbot asks.
You need to install MongoDB if you want to save the user data. The installation steps of MongoDB are in this link: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
I have defined functions in the conversationengine.py file. The path of this file on GitHub is: https://github.com/jalajthanaki/NLPython/blob/master/ch7/chatbot/customscripts/conversationengine.py ...
Read now
Unlock full access