Upload
getstartedguru
View
493
Download
4
Embed Size (px)
Citation preview
Chennai AI & Chatbot Meetup
• Meetup group for• Artificial Intelligence
• NLP
• Chatbot
• Volunteers
• Speakers
Agenda
• Basic Concept of ChatBot
• Build a your own Bot
• Basic concepts of api.ai
• Setup your Development Environment
• Sample Code (node.js)
Why Bot?
• Facebook Messenger platform - April 2016
• Microsoft Bot Framework – March 2016
• Google Allo
• IBM Watson Dialougue API
• Telegram Bot Platform
What is a Bot?
Messenger Bot Developers Meetup
• DemoBot
• Read Message
• Respond back
Your App NLP EngineMessenger
• Process Message
Messenger Bot Developers Meetup
Webhook
Graph API
Steps
• Create a FB Page
• Create a FB App
• Enable Messenger in FB App and Copy Page Access Token
• Log in to api.ai and create an Agent
• Api.ai - > Enable “Small Talk” and Switch it ON.
• Agent Settings - > Integrations - > Messeger
• Provide token String, Page Access Token and Start the App.
• Copy Webhook URL, Go to Facebook App, Enter Webhook URL,
Messenger Bot Developers Meetup
api.ai JSON
• Intent: response.result.metadata.intentname
• action : response.result.action
• parameters: response.result.parameters.<param>
• Response Text: response.result.fulfillment.speech
Messenger Bot Developers Meetup
Setup Development Environment
• Download ngrok (https://ngrok.com)
• Sign up for ngrok
• Run ngrok on your localhost (It will give you an https URL that points exposes your app to internet)
Messenger Bot Developers Meetup