Building an Enterprise Chatbot

Building an Enterprise Chatbot
Author: Abhishek Singh
Publisher: Apress
Total Pages: 399
Release: 2019-09-13
Genre: Computers
ISBN: 1484250346

Explore the adoption of chatbots in business by focusing on the design, deployment, and continuous improvement of chatbots in a business, with a single use-case from the banking and insurance sector. This book starts by identifying the business processes in the banking and insurance industry. This involves data collection from sources such as conversations from customer service centers, online chats, emails, and other NLP sources. You’ll then design the solution architecture of the chatbot. Once the architecture is framed, the author goes on to explain natural language understanding (NLU), natural language processing (NLP), and natural language generation (NLG) with examples. In the next sections, you'll design and implement the backend framework of a typical chatbot from scratch. You will also explore some popular open-source chatbot frameworks such as Dialogflow and LUIS. The authors then explain how you can integrate various third-party services and enterprise databases with the custom chatbot framework. In the final section, you'll discuss how to deploy the custom chatbot framework on the AWS cloud. By the end of Building an Enterprise Chatbot, you will be able to design and develop an enterprise-ready conversational chatbot using an open source development platform to serve the end user. What You Will LearnIdentify business processes where chatbots could be usedFocus on building a chatbot for one industry and one use-case rather than building a ubiquitous and generic chatbot Design the solution architecture for a chatbotIntegrate chatbots with internal data sources using APIsDiscover the differences between natural language understanding (NLU), natural language processing (NLP), and natural language generation (NLG) Work with deployment and continuous improvement through representational learning Who This Book Is ForData scientists and enterprise architects who are currently looking to deploy chatbot solutions to their business.

Developing Enterprise Chatbots

Developing Enterprise Chatbots
Author: Boris Galitsky
Publisher: Springer
Total Pages: 566
Release: 2019-04-04
Genre: Computers
ISBN: 3030042995

A chatbot is expected to be capable of supporting a cohesive and coherent conversation and be knowledgeable, which makes it one of the most complex intelligent systems being designed nowadays. Designers have to learn to combine intuitive, explainable language understanding and reasoning approaches with high-performance statistical and deep learning technologies. Today, there are two popular paradigms for chatbot construction: 1. Build a bot platform with universal NLP and ML capabilities so that a bot developer for a particular enterprise, not being an expert, can populate it with training data; 2. Accumulate a huge set of training dialogue data, feed it to a deep learning network and expect the trained chatbot to automatically learn “how to chat”. Although these two approaches are reported to imitate some intelligent dialogues, both of them are unsuitable for enterprise chatbots, being unreliable and too brittle. The latter approach is based on a belief that some learning miracle will happen and a chatbot will start functioning without a thorough feature and domain engineering by an expert and interpretable dialogue management algorithms. Enterprise high-performance chatbots with extensive domain knowledge require a mix of statistical, inductive, deep machine learning and learning from the web, syntactic, semantic and discourse NLP, ontology-based reasoning and a state machine to control a dialogue. This book will provide a comprehensive source of algorithms and architectures for building chatbots for various domains based on the recent trends in computational linguistics and machine learning. The foci of this book are applications of discourse analysis in text relevant assessment, dialogue management and content generation, which help to overcome the limitations of platform-based and data driven-based approaches. Supplementary material and code is available at https://github.com/bgalitsky/relevance-based-on-parse-trees

Building Chatbots with Python

Building Chatbots with Python
Author: Sumit Raj
Publisher: Apress
Total Pages: 205
Release: 2018-12-12
Genre: Computers
ISBN: 1484240960

Build your own chatbot using Python and open source tools. This book begins with an introduction to chatbots where you will gain vital information on their architecture. You will then dive straight into natural language processing with the natural language toolkit (NLTK) for building a custom language processing platform for your chatbot. With this foundation, you will take a look at different natural language processing techniques so that you can choose the right one for you. The next stage is to learn to build a chatbot using the API.ai platform and define its intents and entities. During this example, you will learn to enable communication with your bot and also take a look at key points of its integration and deployment. The final chapter of Building Chatbots with Python teaches you how to build, train, and deploy your very own chatbot. Using open source libraries and machine learning techniques you will learn to predict conditions for your bot and develop a conversational agent as a web application. Finally you will deploy your chatbot on your own server with AWS. What You Will Learn Gain the basics of natural language processing using Python Collect data and train your data for the chatbot Build your chatbot from scratch as a web app Integrate your chatbots with Facebook, Slack, and Telegram Deploy chatbots on your own server Who This Book Is For Intermediate Python developers who have no idea about chatbots. Developers with basic Python programming knowledge can also take advantage of the book.

The Definitive Guide to Conversational AI with Dialogflow and Google Cloud

The Definitive Guide to Conversational AI with Dialogflow and Google Cloud
Author: Lee Boonstra
Publisher: Apress
Total Pages: 405
Release: 2021-06-25
Genre: Computers
ISBN: 9781484270134

Build enterprise chatbots for web, social media, voice assistants, IoT, and telephony contact centers with Google's Dialogflow conversational AI technology. This book will explain how to get started with conversational AI using Google and how enterprise users can use Dialogflow as part of Google Cloud. It will cover the core concepts such as Dialogflow essentials, deploying chatbots on web and social media channels, and building voice agents including advanced tips and tricks such as intents, entities, and working with context. The Definitive Guide to Conversational AI with Dialogflow and Google Cloud also explains how to build multilingual chatbots, orchestrate sub chatbots into a bigger conversational platform, use virtual agent analytics with popular tools, such as BigQuery or Chatbase, and build voice bots. It concludes with coverage of more advanced use cases, such as building fulfillment functionality, building your own integrations, securing your chatbots, and building your own voice platform with the Dialogflow SDK and other Google Cloud machine learning APIs. After reading this book, you will understand how to build cross-channel enterprise bots with popular Google tools such as Dialogflow, Google Cloud AI, Cloud Run, Cloud Functions, and Chatbase. ​​What You Will Learn Discover Dialogflow, Dialogflow Essentials, Dialogflow CX, and how machine learning is used Create Dialogflow projects for individuals and enterprise usage Work with Dialogflow essential concepts such as intents, entities, custom entities, system entities, composites, and how to track context Build bots quickly using prebuilt agents, small talk modules, and FAQ knowledge bases Use Dialogflow for an out-of-the-box agent review Deploy text conversational UIs for web and social media channels Build voice agents for voice assistants, phone gateways, and contact centers Create multilingual chatbots Orchestrate many sub-chatbots to build a bigger conversational platform Use chatbot analytics and test the quality of your Dialogflow agent See the new Dialogflow CX concepts, how Dialogflow CX fits in, and what’s different in Dialogflow CX Who This Book Is For Everyone interested in building chatbots for web, social media, voice assistants, or contact centers using Google’s conversational AI/cloud technology.

Designing Bots

Designing Bots
Author: Amir Shevat
Publisher: "O'Reilly Media, Inc."
Total Pages: 357
Release: 2017-05-17
Genre: Computers
ISBN: 1491974834

From Facebook Messenger to Kik, and from Slack bots to Google Assistant, Amazon Alexa, and email bots, the new conversational apps are revolutionizing the way we interact with software. This practical guide shows you how to design and build great conversational experiences and delightful bots that help people be more productive, whether it’s for a new consumer service or an enterprise efficiency product. Ideal for designers, product managers, and entrepreneurs, this book explores what works and what doesn’t in real-world bot examples, and provides practical design patterns for your bot-building toolbox. You’ll learn how to use an effective onboarding process, outline different flows, define a bot personality, and choose the right balance of rich control and text. Explore different bot use-cases and design best practices Understand bot anatomy—such as brand and personality, conversations, advanced UI controls—and their associated design patterns Learn steps for building a Facebook Messenger consumer bot and a Slack business bot Explore the lessons learned and shared experiences of designers and entrepreneurs who have built bots Design and prototype your first bot, and experiment with user feedback

Introducing Azure Bot Service

Introducing Azure Bot Service
Author: Charles Waghmare
Publisher: Apress
Total Pages: 221
Release: 2019-08-29
Genre: Computers
ISBN: 1484248880

See how custom chatbots and Azure Bot Service can resolve common business problems. This book takes you through the many possibilities of bot development from a business point of view, using Microsoft bot technology, and demonstrates how to connect, deploy, and manage them. Starting with an introduction to chatbots and their features you will go through the design and implementation of Azure chatbots. This will set the foundation for the rest of the book before you learn how to create and manage messages in chatbots. You’ll then see how to deploy your chatbot in different business scenarios and how to integrate Azure chatbots with different applications such as Facebook and Twitter. To really allow you to demonstrate business value, Introducing Azure Bot Service covers tips on enhancing customer satisfaction and developing insights by analyzing customer behavior. This knowledge will help you understand how artificial intelligence techniques such as chatbots help your organization undergo digital transformation. After reading this book, you will be ready to build chatbots using Microsoft Azure, deploy them in different business scenarios, and measure the benefits of chatbots. What You Will Learn Build time-saving chatbots using Azure Bot Service Engage in proactive customer interaction Integrate chatbots as a key aspect of your business strategy Improve customer satisfaction Ease into digital transformation using Azure chatbots Who This Book Is For Developers who are interested in building chatbots.

Microsoft Conversational AI Platform for Developers

Microsoft Conversational AI Platform for Developers
Author: Stephan Bisser
Publisher: Apress
Total Pages: 279
Release: 2021-03-08
Genre: Computers
ISBN: 9781484268360

Build a chatbot using the Microsoft Conversational AI platform. This book will teach you, step by step, how to save time and money by including chatbots in your enterprise's strategy. You will learn how to be proficient at every phase of development, from collaboration on a chatbot in an end-to-end scenario, to the first mock-up phase, and on through to the deployment and evaluation phases. Microsoft built a cloud service ecosystem for running artificial intelligence workloads in public cloud scenarios and a robust AI platform that offers a broad range of services targeting conversational artificial intelligence solutions such as chatbots. Building a chatbot requires not just developer coding skills but special considerations, including input from business stakeholders such as domain matter experts and power users. You will learn by example how to use a great set of tools and services to bridge the gap between business and engineering. You will learn how to successfully morph business requirements into actionable IT and engineering requirements. You will learn about Bot Framework Composer, which allows power users to initiate the building of a chatbot that can then be handed over to the development team to add capabilities through code. Coverage is given to the process of sharing implementation tasks and workloads between power users, who are using a low-code or no-code approach, and developers, who are building out the enhanced features for the chatbot. What You Will Learn Understand Microsoft’s comprehensive AI ecosystem and its services and solutions Recognize which solutions and services should be applied in each business scenario Discover no-code/low-code approaches for building chatbots Develop chatbots using the conversational AI stack Align business and development for improved chatbot outcomes and reduced time-to-market Who This Book Is For Developers and power users who want to build chatbots. An understanding of the core principles of writing code (.NET or JavaScript) for modern web applications is expected.

Build Better Chatbots

Build Better Chatbots
Author: Rashid Khan
Publisher: Apress
Total Pages: 113
Release: 2017-12-13
Genre: Computers
ISBN: 1484231112

Learn best practices for building bots by focusing on the technological implementation and UX in this practical book. You will cover key topics such as setting up a development environment for creating chatbots for multiple channels (Facebook Messenger, Skype, and KiK); building a chatbot (design to implementation); integrating to IFTT (If This Then That) and IoT (Internet of Things); carrying out analytics and metrics for chatbots; and most importantly monetizing models and business sense for chatbots. Build Better Chatbots is easy to follow with code snippets provided in the book and complete code open sourced and available to download. With Facebook opening up its Messenger platform for developers, followed by Microsoft opening up Skype for development, a new channel has emerged for brands to acquire, engage, and service customers on chat with chatbots. What You Will Learn Work with the bot development life cycle Master bot UX design Integrate into the bot ecosystem Maximize the business and monetization potential for bots Who This Book Is For Developers, programmers, and hobbyists who have basic programming knowledge. The book can be used by existing chatbot developers to gain a better understanding of analytics and the business side of bots.

Conversational AI with Rasa

Conversational AI with Rasa
Author: Xiaoquan Kong
Publisher: Packt Publishing Ltd
Total Pages: 264
Release: 2021-10-08
Genre: Computers
ISBN: 1801073880

Create next-level AI assistants and transform how customers communicate with businesses with the power of natural language understanding and dialogue management using Rasa Key FeaturesUnderstand the architecture and put the underlying principles of the Rasa framework to practiceLearn how to quickly build different types of chatbots such as task-oriented, FAQ-like, and knowledge graph-based chatbotsExplore best practices for working with Rasa and its debugging and optimizing aspectsBook Description The Rasa framework enables developers to create industrial-strength chatbots using state-of-the-art natural language processing (NLP) and machine learning technologies quickly, all in open source. Conversational AI with Rasa starts by showing you how the two main components at the heart of Rasa work – Rasa NLU (natural language understanding) and Rasa Core. You'll then learn how to build, configure, train, and serve different types of chatbots from scratch by using the Rasa ecosystem. As you advance, you'll use form-based dialogue management, work with the response selector for chitchat and FAQ-like dialogs, make use of knowledge base actions to answer questions for dynamic queries, and much more. Furthermore, you'll understand how to customize the Rasa framework, use conversation-driven development patterns and tools to develop chatbots, explore what your bot can do, and easily fix any mistakes it makes by using interactive learning. Finally, you'll get to grips with deploying the Rasa system to a production environment with high performance and high scalability and cover best practices for building an efficient and robust chat system. By the end of this book, you'll be able to build and deploy your own chatbots using Rasa, addressing the common pain points encountered in the chatbot life cycle. What you will learnUse the response selector to handle chitchat and FAQsCreate custom actions using the Rasa SDKTrain Rasa to handle complex named entity recognitionBecome skilled at building custom components in the Rasa frameworkValidate and test dialogs end to end in RasaDevelop and refine a chatbot system by using conversation-driven deployment processingUse TensorBoard for tuning to find the best configuration optionsDebug and optimize dialogue systems based on RasaWho this book is for This book is for NLP professionals as well as machine learning and deep learning practitioners who have knowledge of natural language processing and want to build chatbots with Rasa. Anyone with beginner-level knowledge of NLP and deep learning will be able to get the most out of the book.

Conversational AI

Conversational AI
Author: Andrew Freed
Publisher: Simon and Schuster
Total Pages: 318
Release: 2021-10-12
Genre: Computers
ISBN: 1617298832

Design, develop, and deploy human-like AI solutions that chat with your customers, solve their problems, and streamline your support services. In Conversational AI, you will learn how to: Pick the right AI assistant type and channel for your needs Write dialog with intentional tone and specificity Train your AI’s classifier from the ground up Create question-and-direct-response AI assistants Design and optimize a process flow for web and voice Test your assistant’s accuracy and plan out improvements Conversational AI: Chatbots that work teaches you to create the kind of AI-enabled assistants that are revolutionizing the customer service industry. You’ll learn to build effective conversational AI that can automate common inquiries and easily address your customers' most common problems. This engaging and entertaining book delivers the essential technical and creative skills for designing successful AI solutions, from coding process flows and training machine learning, to improving your written dialog. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Create AI-driven chatbots and other intelligent agents that humans actually enjoy talking to! Adding intelligence to automated response systems saves time and money for you and your customers. Conversational AI systems excel at routine tasks such as answering common questions, classifying issues, and routing customers to the appropriate human staff. This book will show you how to build effective, production-ready AI assistants. About the book Conversational AI is a guide to creating AI-driven voice and text agents for customer support and other conversational tasks. This practical and entertaining book combines design theory with techniques for building and training AI systems. In it, you’ll learn how to find training data, assess performance, and write dialog that sounds human. You’ll go from building simple chatbots to designing the voice assistant for a complete call center. What's inside Pick the right AI for your needs Train your AI classifier Create question-and-direct-response assistants Design and optimize a process flow About the reader For software developers. Examples use Watson Assistant and Python. About the author Andrew R. Freed is a Master Inventor and Senior Technical Staff Member at IBM. He has worked in AI solutions since 2012. Table of Contents PART 1 FOUNDATIONS 1 Introduction to conversational AI 2 Building your first conversational AI PART 2 DESIGNING FOR SUCCESS 3 Designing effective processes 4 Designing effective dialogue 5 Building a successful AI assistant PART 3 TRAINING AND TESTING 6 Training your assistant 7 How accurate is your assistant? 8 Testing your dialogue flows PART 4 MAINTENANCE 9 Deployment and management 10 Improving your assistant PART 5 ADVANCED/OPTIONAL TOPICS 11 Building your own classifier 12 Additional training for voice assistants