Beginning AI Bot Frameworks by Manisha Biswas

Beginning AI Bot Frameworks by Manisha Biswas

Author:Manisha Biswas
Language: eng
Format: epub
ISBN: 9781484237540
Publisher: Apress


Creating a New Entity

In this section, you’ll create an entity named pizzaSize, shown in Figure 3-18.

Figure 3-18Creating the pizzaSize entity

After creating the intent, the bot page looks like Figure 3-19.

Figure 3-19Adding a new intent

Implementing Wit.ai with Facebook

You’ve gone through the process of creating a simple app that uses some of the features of Wit.ai. In this section, you’ll implement Wit.ai with Facebook. The Facebook API is available at developers.facebook.com. You will create a chatbot for the official Facebook page, or any Facebook page. This chatbot will add to Facebook Messenger. You will have to set up webhooks accordingly. To get webhooks working, you need to set up ngrock.

First, create a new app as you’ve done before. This time, name it Test1, as shown in Figure 3-20.

Figure 3-20Adding a new name



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.