107 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Getting Started with Chatbots , livre ebook

-

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
107 pages
English

Vous pourrez modifier la taille du texte de cet ouvrage

Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

A complete guide to build a better Chatbots Key features Concept of artificial intelligence (AI) and machine learning How AI is involved in creating chatbots What are chatbots Chatbot development Live chatting Create chatbot with technologies such as Amazon Lex, Google Dialogflow, AWS Lambda, Microsoft Bot Framework, and Azure Deploy and talk to your bot Description This book makes you familiar with the concept of the chatbot. It explains what chatbot is, how does a chatbot work, and what exactly is the need for a chatbot in today's era? It focuses on creating a bot using Amazon's Lex service and getting the bot deployed on Facebook messenger for live chatting. This book will train you on how to create a chatbot using Google's Dialogflow and test the bot in Dialogflow console. It also demonstrates how to create a custom chatbot using Microsoft's bot framework and enable the webhooks in Dialogflow and return the response from the custom bot to Dialogflow intents as a fulfilment response. What will you learn Learn the concept of chatbot Learn how chatbots and AI work hand in hand Learn the concept of machine learning in chatbots Get familiar with chatbot services such as Amazon's Lex and Google's Dialogflow Learn how to write an AWS Lambda function Learn what webhooks are Learn about Microsoft's Bot Framework Write your own custom chatbot Deploy the chatbot on Facebook Messenger, Google Assistant, and Slack Live chatting with your own chatbot Who this book is for The developers, architects, and software/technology enthusiasts who are keen to learn the cutting-edge technologies and want to get a hands-on experience on AI by creating their own custom chatbots. Organizations, small companies, service-based/product-based setups which want to learn how to create a basic chatbot on their website and on social media to get more leads and reach to the end user for their business. Students, if they are seeking something where they can create and integrate the real-time chatbots in their projects.Table of contentsSection 1: The Concept1. What are Chatbots?2. How Chatbot Works3. What is the Need for a Chatbot?4. Conversational Flow?Section 2: Creating a Chatbot Using Amazon Lex1. Amazon Lex and AWS Account2. Create Bot Using Amazon Lex3. AWS Lambda Function4. Slots5. Error Handling6. Deploy the Bot on Facebook Messenger7. Live Chatbot on FacebookSection 3: Creating a Chatbot Using Dialogflow API and Microsoft's Bot FrameworkTechnical Requirements1. Dialogflow Account2. Creating a Bot in Dialogflow3. Dialogflow Console4. Integrating the Bot with Slack5. Chatbot Using Microsoft Bot Framework6. Publishing the Bot from Visual Studio to Azure7. Register the Bot8. Dialogflow.v2 SDK9. Webhooks in Dialogflow10. Testing the Bot11. Deploy the Chatbot in Facebook Messenger12. Live Chatbot on Facebook13. Deploy the Chatbot in Slack14. Future of ChatbotsAbout the authorAkhil Mittal is two times Microsoft MVP (Most Valuable Professional) firstly awarded in 2016 continued in 2017 in Visual Studio and Technologies category, C# Corner MVP since 2013, Code Project MVP since 2014, a blogger, author and likes to write/read technical articles, blogs and books. He works as a Sr. Consultant with Magic Edtech (https://www.magicedtech.com/) which is recognized as a global leader in delivering end to end learning solutions. He has an experience of around 12 years in developing, designing, architecting enterprises level applications primarily in Microsoft Technologies. He has a diverse experience in working on cutting edge technologies that include Microsoft Stack, AI, Machine Learning and Cloud computing. Akhil is an MCP (Microsoft Certified Professional) in Web Applications and Dot Net Framework.His linkedin: linkedin.com/in/akhilmittal

Sujets

Informations

Publié par
Date de parution 20 septembre 2019
Nombre de lectures 1
EAN13 9789389328141
Langue English

Informations légales : prix de location à la page 0,0600€. Cette information est donnée uniquement à titre indicatif conformément à la législation en vigueur.

Extrait

Getting Started with Chatbots
Learn and create your own chatbot with deep understanding of Artificial Intelligence and Machine Learning
By Akhil Mittal
FIRST EDITION 2019
Copyright © BPB Publications, INDIA
ISBN: 978-93-88511-89-6
All Rights Reserved. No part of this publication can be Stored in a retrieval system or reproduced in any form or by any means without the prior written permission of the publishers
LIMITS OF LIABILITY AND DISCLAIMER OF WARRANTY
The Author and Publisher of this book have tried their beSt to ensure that the programmes, procedures and functions described in the book are correct. However, the author and the publishers make no warranty of any kind, expressed or implied, with regard to these programmes or the documentation contained in the book. The author and publisher shall not be liable in any event of any damages, incidental or consequential, in connection with, or arising out of the furnishing, performance or use of these programmes, procedures and functions. Product name mentioned are used for identification purposes only and may be trademarks of their respective companies.
All trademarks referred to in the book are acknowledged as properties of their respective owners.
Distributors:
BPB PUBLICATIONS 20, Ansari Road, Darya Ganj New Delhi-110002 Ph: 23254990/23254991
MICRO MEDIA Shop No. 5, Mahendra Chambers, 150 DN Rd. Next to Capital Cinema, V.T. (C.S.T.) Station, MUMBAI-400 001 Ph: 22078296/22078297
BPB BOOK CENTRE 376 Old Lajpat Rai Market, Delhi-110006 Ph: 23861747
DECCAN AGENCIES 4-3-329, Bank Street, Hyderabad-500195 Ph: 24756967/24756400
 
 
Published by Manish Jain for BPB Publications, 20, Ansari Road, Darya Ganj, New Delhi-110002 and Printed by Repro India Pvt Ltd, Mumbai
 
 
 
 
Dedicated To
My father, Mr. Ajeet Kumar Mittal
–Akhil Mittal
Preface
Not going far but a few years back it was almost impossible to think that a human can talk to the machine in a natural language. Machine Learning and AI are the two concepts go hand in hand today that has changed. The artificial intelligence applied over machine learning algorithms had picked up a rapid pace to overcome the limitations between the interaction between humans and machines. The Natural Language Processing (NLP) has proved to be picking up on a rapid scale and artificial intelligence behind it has made the chatbots livelier than ever. The electronic business picked up the market and started holding the grip day by day and so was the need for AI to be more start. A few years back, when a wrong product was bought from any online shopping e-commerce website, it was a hassle to speak to reach out to a customer care agent which was always an L1 support at the first place, next make him understand your problem and then wait for his investigations and as a buyer it was a frustrating and time-consuming process to wait and go through these steps. On the other hand, the other side of the story, it was equally frustrating for the companies to set up an infrastructure for customer service to handle these requests which involved both human resource cost and time. But this improved; the human resources were still there but were trained and have a certain set of permutations and combinations for the end user to return their wrongly purchased product. The online software’s help the agents to track the product, payment information, user information and process the request within minutes. Yes, the time effort is reduced, but the effort to reach out an agent after a wait, the human resource cost at companies end still exists. With AI, it has been made possible to get rid of these overheads as well. Off course the need for human intervention is not 100% eliminated but by the time it has reduced to 70%.
This book promises to be a very good starting point for complete novice learners and is quiet an asset to advanced readers too. The author has written the book so that the beginners will learn the concepts related to chatbots built as an outcome of AI and ML and for experienced developers who wish to get hands-on on making a realtime chatbot.
It is said “ To err is human, to forgive is divine ”. In this light the author wishes that the shortcomings of the book will be forgiven. At the same time, the author is open to any kind of constructive criticisms, feedback, corrections, and suggestions for further improvement. All intelligent suggestions are welcome, and the author will try his best to incorporate such in valuable suggestions in the subsequent editions of this book.
Acknowledgement
No task is a single man’s effort. Cooperation and Coordination of various peoples at different levels go into successful implementation of this book.
There is always a sense of gratitude, which everyone expresses to the others for the help they render during difficult phases of life and to achieve the goal already set. It is impossible to thank individually but I am hereby making a humble effort to thank and acknowledge some of them.
I would like to thank Mr. Manish Jain for giving me an opportunity to write for BPB Publications.
I would also like to thank my family members, my readers for providing all the encouragement and motivation.
Finally, I want to thank everyone who has directly or indirectly contributed to complete this authentic piece of work.
About the Author
Akhil Mittal is two times Microsoft MVP (Most Valuable Professional) firstly awarded in 2016 continued in 2017 in Visual Studio and Technologies category, C# Corner MVP since 2013, Code Project MVP since 2014, a blogger, author and likes to write/read technical articles, blogs and books.
He works as a Sr. Consultant with Magic Edtech ( https://www.magicedtech.com/ ) which is recognized as a global leader in delivering end to end learning solutions. He has an experience of around 12 years in developing, designing, architecting enterprises level applications primarily in Microsoft Technologies. He has a diverse experience in working on cutting edge technologies that include Microsoft Stack, AI, Machine Learning and Cloud computing. Akhil is an MCP (Microsoft Certified Professional) in Web Applications and Dot Net Framework.
Table of Content
Preface
Acknowledgements
Section 1: The Concept Chapter 1 What are Chatbots? What Makes Chatbot? Chapter 2 How Chatbot Works Chapter 3 What is the Need for a Chatbot? Chapter 4 Conversational Flow? Handling Interruptions
Section 2: Creating a Chatbot Using Amazon Lex Chapter 1 Amazon Lex and AWS Account Amazon Lex Setup AWS Account Chapter 2 Create Bot Using Amazon Lex Terminology Getting Started Name your Bot Intents Utterances Compile your Bot Test the Bot Chapter 3 AWS Lambda Function Working with Lambda Functions Enable Lambda Functions Create a Lambda Function Test the Lambda Function Integrate with Intent Again, Build your Bot Chapter 4 Slots The Definition An intent Supporting Slot Add a Slot Test the Intent with Slots Chapter 5 Error Handling Chapter 6 Deploy the Bot on Facebook Messenger Facebook Developer Account Add your First Product Token Generation and Security Publish the Bot Deploy the Bot on Facebook Messenger Subscribe to Webhook Add Button for the Bot Chapter 7 Live Chatbot on Facebook Conclusion
Section 3: Creating a Chatbot Using Dialogflow API and Microsoft’s Bot Framework Technical Requirements Chapter 1 Dialogflow Account Chapter 2 Creating a Bot in Dialogflow Create Agent Create Intent Default Welcome Intent Book a Table Intent Action Parameters Default Response Follow-up Intent No Intent Yes Intent Chapter 3 Dialogflow Console Chapter 4 Integrating the Bot with Slack Chapter 5 Chatbot Using Microsoft Bot Framework Installing Bot Framework Bot Framework Emulator Chapter 6 Publishing the Bot from Visual Studio to Azure Chapter 7 Register the Bot Chapter 8 Dialogflow.v2 SDK Chapter 9 Webhooks in Dialogflow BotModel Model Mapper Intent Handlers Intent List Intent Router Dialogflow Controller Chapter 10 Testing the Bot Test in Dialogflow Console Bot in Google Assistant Downloads Chapter 11 Deploy the Chatbot in Facebook Messenger Chapter 12 Live Chatbot on Facebook Chapter 13 Deploy the Chatbot in Slack Conclusion
Future of Chatbots
Moving from NLP to NLU
Beyond Conventional UI
Conversational Interfaces and Better UX
Helping Business
Bot to Bot
Blockchain
Chatbot vs Humans
S ECTION 1
The Concept
A chatbot is not rocket science, but a software primarily defined by artificial intelligence (AI) means that can work as a simulator to the conversation with an end user in normal language. A chatbot can talk to the user in any defined language; it is programmed by taking possible user intents into account i.e. what all queries or conversation a user can possibly have while communicating. A chatbot can be in the form of a messaging application like Facebook messenger, Slack, Google Assistant, it could be any mobile application, a plugin in any website or as simple as an Interactive Voice Response System (IVRS) of a telephone.
A chatbot interacts with a human giving an impression as if the communication is happening between two individuals; on the contrary, it is the conversation between a human and a machine. Chatbot leverages Natural Processed Language (NPL) to communicate with an end user. It responds to the queries or questions asked by an end user on behalf of the business it is used for.
This section focuses on understanding the basic concept of chatbot before getting started with the development. It is very important to understand, what chatbots are, how chatbots work, what do we mean by conversational flow, what is the terminology used while developing a chatbot.
C HEPTER 1
What are Chatbots?
A chatbot as defined, is more of an AI software leveraging machine learning capabilities to work. The only job of a chatbot is to get the input from the user and return the processed response as per the input. The input could be in any form for e.g. it could be a text fro

  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents
Alternate Text