Cloud Methodologies for a Seamless Integrated Chatbot

Cloud Methodologies for a Seamless Integrated Chatbot

Published by : International Journal of Engineering Research & Technology (IJERT) http://www.ijert.org ISSN: 2278-0181 Vol. 9 Issue 08, August-2020 Cloud Methodologies for A Seamless Integrated Chatbot Sharan Kumar Paratala Rajagopal IEEE Member Senior Manager, Capgemini America, Inc. Dallas, Texas, USA Abstract—This research paper provides details of connecting C. Seamless AWS integrations Amazon connect to Amazon pinpoint to send SMS and also Amazon Lex provides built-in integration with AWS provides some insights on how it can be integrated with social Lambda and Amazon CloudWatch and you can easily platforms such as Facebook messaging and WhatsApp. Amazon integrate with many other services on the AWS platform Lex can be leveraged as standalone bot on the website or can be including Amazon Cognito and Amazon DynamoDB. You triggered from Amazon connect for Intelligent voice responses. can take advantage of the power of the AWS platform for Keywords—Amazon Lex, Amazon Connect, Amazon Pinpoint, security, monitoring, user authentication, business logic, WhatsApp, Facebook Messaging. storage and mobile app development. I. INTRODUCTION D. Cost effective Amazon Lex [1] is a service for building conversational With Amazon Lex, there are no upfront costs or minimum interfaces into any application using voice and text. Amazon fees. You are only charged for the text or speech requests that Lex provides the advanced deep learning functionalities of are made. Amazon Lex’ pay-as-you-go pricing and low cost automatic speech recognition (ASR) for converting speech to per request makes it a cost-effective way to build text, and natural language understanding (NLU) to recognize conversational interfaces anywhere. With the Amazon Lex the intent of the text, to enable you to build applications with free tier, you can easily try Amazon Lex without any initial highly engaging user experiences and lifelike conversational investment. interactions. With Amazon Lex, the same deep learning III. USE CASES OF AMAZON LEX technologies that power Amazon Alexa are now available to any developer, enabling you to quickly and easily build A. Call Center Chatbots and Voice Assistants sophisticated, natural language, conversational By using an Amazon Lex chatbot in your call center, bots (“chatbots”). callers can perform tasks such as changing a password, With Amazon Lex, you can build bots to increase contact requesting a balance on an account, or scheduling an center productivity, automate simple tasks, and drive appointment, without needing to speak to an agent. These operational efficiencies across the enterprise. As a fully chatbots use automatic speech recognition and natural managed service, Amazon Lex scales automatically, so you language understanding to ascertain a caller’s intent, maintain don’t need to worry about managing infrastructure. context and fluidly manage the conversation. Amazon Lex uses AWS Lambda functions to query your business II. BENEFITS OF AMAZON LEX applications, provide information back to callers, and make A. Easy to use updates as requested. Amazon Lex provides an easy-to-use console to guide you B. QnA Bots and Informational Bots through the process of creating your own chatbot or You can use Amazon Lex to build chatbots for everyday conversational interface in minutes. Just supply a few example consumer requests, such as accessing the latest news updates, phrases and Amazon Lex builds a complete natural language game scores, or weather. After you build your Amazon Lex model through which your user can interact using voice and bot, you can deploy them on mobile devices, chat services, text, to ask questions, get answers, and complete sophisticated and IoT devices, with support for rich message formatting. tasks. C. Application Bots B. One click deployment Amazon Lex’s high-quality speech recognition and natural With Amazon Lex, you can easily build, test, and deploy language understanding capabilities make it possible to build your chatbot everywhere across all your channels and powerful interfaces to mobile applications. You can add a platforms. This includes mobile devices, web apps, and chat voice or text chat interface to create bots on mobile devices services such as Facebook Messenger, Slack, and Twilio that can help customers with many basic tasks, such as SMS. Amazon Lex is a fully managed service that accessing their bank account, booking tickets, ordering food, automatically scales with usage, so you don’t need to worry or calling a cab. Amazon Lex integrates with Amazon Cognito about provisioning hardware and managing infrastructure to so you can control user management, authentication, and sync power your bot. across all devices. IJERTV9IS080033 www.ijert.org 44 (This work is licensed under a Creative Commons Attribution 4.0 International License.) Published by : International Journal of Engineering Research & Technology (IJERT) http://www.ijert.org ISSN: 2278-0181 Vol. 9 Issue 08, August-2020 D. Enterprise Productivity Bots values. The user must provide values for all required slots You can use Amazon Lex to build enterprise chatbots that before Amazon Lex can fulfill the intent. For example, the streamline common work activities and improve OrderPizza intent requires slots such as pizza size, crust type, organizational efficiencies. For example, employees can check and number of pizzas. In the intent configuration, you add sales data from Salesforce, marketing performance from these slots. For each slot, you provide slot type and a prompt HubSpot, and customer service status from Zendesk, directly for Amazon Lex to send to the client to elicit data from the from their chatbots within minutes. With Amazon Lex, you user. A user can reply with a slot value that includes can build your bots to connect to a variety of enterprise additional words, such as "large pizza please" or "let's stick productivity tools through AWS Lambda functions. with small." Amazon Lex can still understand the intended slot value. IV. HOW IT WORKS? Amazon Lex enables you to build applications using a • Slot type – Each slot has a type. You can create your speech or text interface powered by the same technology that custom slot types or use built-in slot types. For example, you powers Amazon Alexa. Following are the typical steps you might create and use the following slot types for the perform when working with [2]. OrderPizza intent: 1. Create a bot and configure it with one or more intents that you want to support. Configure the bot so it understands • Size – With enumeration values Small, Medium, and Large. the user's goal (intent), engages in conversation with the user to elicit information, and fulfills the user's intent. • Crust – With enumeration values Thick and Thin. Amazon 2. Test the bot. You can use the test window client Lex also provides built-in slot types. For example, provided by the Amazon Lex console. AMAZON.NUMBER is a built-in slot type that you can use 3. Publish a version and create an alias. for the number of pizzas ordered. 4. Deploy the bot. You can deploy the bot on platforms such as mobile applications or messaging platforms such as V. LAMBDA FUNCTIONS AS CODE HOOKS Facebook Messenger. Before you get started, familiarize Lambda Functions as Code Hooks You can configure your yourself with the following Amazon Lex core concepts and Amazon Lex bot to invoke a Lambda function as a code terminology: hook. The code hook can serve multiple purposes: • Bot – A bot performs automated tasks such as ordering a pizza, booking a hotel, ordering flowers, and so on. An • Customizes the user interaction—For example, when Joe Amazon Lex bot is powered by Automatic Speech asks for available pizza toppings, you can use prior Recognition (ASR) and Natural Language Understanding knowledge of Joe's choices to display a subset of toppings. (NLU) capabilities, the same technology that powers Amazon Validates the user's input—suppose that Jen wants to pick up Alexa. Amazon Lex bots can understand user input provided flowers after hours. You can validate the time that Jen input with text or speech and converse in natural language. You and send an appropriate response. can create Lambda functions and add them as code hooks in your intent configuration to perform user data validation and • Fulfills the user's intent—After Joe provides all of the fulfillment tasks. information for his pizza order, Amazon Lex can invoke a Lambda function to place the order with a local pizzeria. • Intent – An intent represents an action that the user wants to When you configure an intent, you specify Lambda functions perform. You create a bot to support one or more related as code hooks in the following places: intents. For example, you might create a bot that orders pizza and drinks. For each intent, you provide the following • Dialog code hook for initialization and validation—This required information: • Intent name– A descriptive name for Lambda function is invoked on each user input, assuming the intent. For example, OrderPizza. Amazon Lex understood the user intent. • Sample utterances – How a user might convey the intent. • Fulfillment code hook—This Lambda function is invoked For example, a user might say "Can I order a pizza please" or after the user provides all of the slot data required to fulfill "I want to order a pizza". the intent. You choose the intent and set the code hooks in the Amazon Lex console, as shown in “Fig 1”. • How to fulfill the intent – How you want to fulfill the intent after the user provides the necessary information (for example, place order with a local pizza shop). We recommend that you create a Lambda function to fulfill the intent. You can optionally configure the intent so Amazon Lex simply returns the information back to the client application to do the necessary fulfillment. • Slot – An intent can require zero or more slots or parameters.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us