Intro; Table of Contents; About the Author; About the Technical Reviewers; Preface; Chapter 1: Introduction to Chat Bots; The Expectations Game; What Is a Chat Bot?; Why Now?; Advancements in Artificial Intelligence; Messaging Apps as a Conversational Intelligence Platform; Voice-Activated Intelligent Assistants; Why Should We Create Bots?; Bot Anatomy; Bot Runtime; Natural Language Understanding Engine; Conversation Engine; Aside: Intents, Entities, Actions, Slots, Oh My!; Channel Integration; Conclusion; Chapter 2: Chat Bot Natural Language Understanding.
A Historical PointPhrase Lists; Active Learning; Dashboard Overview; Managing and Versioning Your Application; Integrating with Spell Checking; Import/Export Application; Using the LUIS Authoring API; Troubleshooting Your Models; Conclusion; Chapter 4: Conversation Design; Common Use Cases; Common Consumer Cases; FAQ Bot; Task-Oriented Bot; Broadcast Bot; E-commerce Bot; Common Enterprise Cases; Self-Service Bots; Process Automation Bots; Knowledge Management Bots; Representing Conversations; Bot Responses; Building Blocks; Authentication and Authorization in Bots; Specialized Cards.
Natural Language Machine Learning BackgroundCommon NLP Tasks; Syntax; Semantics; Discourse Analysis; Common Bot NLU Tasks; Cloud-Based NLU Systems; Enterprise Space; Conclusion; Chapter 3: Language Understanding Intelligent Service (LUIS); Classifying Intents; Publishing Your Application; Extracting Entities; Age, Dimension, Money, and Temperature; DatetimeV2; E-mails, Phone Numbers, and URLs; Number, Percentage, and Ordinal; Entity Training; Custom Entities; Simple Entities; Composite Entities; Hierarchical Entities; List Entities; Regular Expressions Entities; Prebuilt Domains.
Other FunctionsConversational Experience Guidelines; Focus; Don't Pretend the Bot Is a Human; Do Not Gender Bots; Always Present the Next Best Action; Have a Consistent Tone; Utilize Rich Content; Be Forgiving; Avoid Getting Stuck; Don't Abuse Proactive Messaging; Provide a Clear Path to Humans; Learn from Your Users; Conclusion; Chapter 5: Introducing the Microsoft Bot Framework; Microsoft Bot Builder SDK Basics; Bot Framework End-to-End Setup; Step 1: Connecting to Azure; Step 2: Creating the Bot Registration; Step 3: Securing Our Bot; Step 4: Setting Up Remote Access.
Step 5: Connecting to Facebook MessengerStep 6: Deploying to Azure; What Did We Just Do?; Microsoft Azure; Bot Channels Registration Entry; Authentication; Connectivity and Ngrok; Deploying to Facebook Messenger; Deploying to Azure; Key Bot Builder SDK Concepts; Sessions and Messages; Waterfalls and Prompts; Dialogs; Invoking Dialogs; Recognizers; Building a Simple Calendar Bot; Conclusion; Chapter 6: Diving into the Bot Builder SDK; Conversation State; Messages; Addresses and Proactive Messages; Rich Content; Buttons; Cards; Suggested Actions; Channel Errors; Channel Data; Group Chat.
0
8
8
8
8
Explore the concept of bots and discover the motivation behind working with these new apps with messaging platforms. This book is an accessible resource teaching the basic concepts behind bot design and implementation. Each chapter builds on previous topics and, where appropriate, real working code is shown that implements the concepts. By just picking up a code editor, you can start creating smart, engaging, and useful bot experiences today. Practical Bot Development will teach you how to create your own bots on platforms like Facebook Messenger and Slack, incorporate extension APIs, and apply AI and ML algorithms in the cloud. By the end of this book, you'll be equipped with the information to reach thousands of new users with the bots you create! The book is a great resource for those looking to harness the benefits of building their own bots and leveraging the platform feasibility of them. What You'll Learn Understand the general architecture of a bot Distinguish between a great bot experience versus a bad bot experience. Explore the ideas behind natural language processing and apply them to bot development Implement real Messenger, Slack, and custom channel bots using Node.js and the Microsoft Bot Builder framework Deploy bots to Facebook Messenger and Slack Who This Book Is For Engineers, hobbyists, and the design oriented community looking looking for an introduction to the technologies and concepts involved in building bots. The experience level could be from beginner to expert, although some familiarity with Node.js and APIs will be assumed.