![]() To trigger our intent, we need to define some sample utterances which are basically a list of possible phrases. This intent is to give us information about the bot. We won’t be using the database for this intent, but it will eventually connect to our Lambda function. The idea behind the AboutIntent is to just get us started. ![]() For this example we’re going to create an AboutIntent, GetProfileIntent and UpgradeServiceIntent, two of which will use Couchbase for information. ![]() With the custom bot created, the first step is to start creating intents. Everything else should just be the defaults or whatever you deem to be most appropriate. Since we’re creating a text-based bot, the output voice should be none. Go to Lex in your AWS portal and choose to create a new custom bot. While Lambda will allow us to make our bot useful, you don’t need any kind of backend to play around with Lex. Configuring Amazon Lex for User Interactionīefore we get into the code, we can spend our time configuring Lex. Finally, since the Couchbase Node.js SDK uses native dependencies, Docker or some other virtual machine software must be available to download the dependencies as Linux, which is what Lambda expects. For this reason Couchbase cannot be running from localhost, it must be installed somewhere remotely. Since we’ll be using Amazon products, these products need access to Couchbase. Both products are pay as you go, so a free tier will likely be more than enough. Couchbase Server 5.0+ must be installed and available remotely.īecause we’ll be using Amazon products such as Lex and Lambda, an AWS account must be available.There are a few software requirements that must be met in order to be successful with this tutorial and project: In this tutorial we’re going to explore creating a chatbot that can take some of the workload off your human employees by leveraging Amazon Lex for deep learning and conversational interfaces, Couchbase NoSQL as the database, and Node.js for interacting with the database. The short answer is that it doesn’t take much more than building standard applications if you’re using the right tools. However, what does it take to bring automation to your business? We have automated self-driving vehicles, voice assistants, call center and text-based bots, and so much more. It is no question that the future is going to be automated. Nic writes about his development experiences related to making web and mobile development easier to understand. He has experience in Java, JavaScript, Golang, and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic Raboy is an advocate of modern web and mobile development technologies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |