Developing Virtual Assistant Apps with Amazon Lex and Polly Deep Learning Technologies

| by Srini Penchikala Follow 21 Followers on May 22, 2017. Estimated reading time: 1 minute | NOTICE: - Applied AI conference for Developers Apr 9-11, 2018, San Francisco. Join us!

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.

Greg Bulmash from Amazon spoke at OSCON 2017 Conference last week about developing your own virtual assistant applications using Amazon's Lex and Polly technologies. He talked about how to plan and execute voice interfaces for these browser-based "Do it Yourself Virtual Assistant" (DIYVA) applications that listen and respond in natural language. They are based on Alexa's voice recognition, Artificial Intelligence (AI), and speech synthesis technologies.

Amazon Lex is used for building conversational interfaces into applications using voice and text. It provides the deep learning functionalities of automatic speech recognition (ASR) for converting speech to text, and natural language understanding (NLU) to recognize the intent of the text.

Amazon Polly is an Amazon AI service that uses deep learning technologies to synthesize speech that sounds like a human voice.

Bulmash showed how to build a cross-platform Cordova based application consuming Alexa services from Amazon, that works on both mobile and desktop clients to perform different tasks like ordering flowers. The sample application includes the following three functions:

  • Get user credentials
  • Get audio message from user
  • Send audio to Lex

You can add security to the application by creating a security profile on Amazon Developer website and setting up an AWS Cognito account for federated identity and access control. Select a user role and then attach the "AmazonLexRunBotsOnly" policy to the role. Then you can setup Amazon Lex Bot by using a custom slot and picking the Bot settings like language, output voice, and session timeout.

Bulmash concluded the presentation by mentioning the upcoming AWS ChatbotChallenge. Contestants can build conversational, intelligent chatbots with Amazon Lex and AWS Lambda technologies and the submissions are due by July 18.


Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you