With the rise of personal assistant chatbots, the tools required for organizations to build their own assistants are being moved to the cloud to give developers the ability to leverage these technologies in their products. Foremost among these tools is Amazon Lex, the speech recognition and natural language processing technology that powers the Alexa virtual assistant, used in the Amazon Echo speaker and Fire TV digital media player.
TechRepublic's smart person's guide to Amazon Lex is an introduction to the language processing technology. This "living" guide will be updated periodically as further integrations are released.
- What is Amazon Lex? Amazon Lex is a cloud-based automatic speech recognition and natural language comprehension service.
- Why does Amazon Lex matter? Amazon Lex can be used with other cloud services to create smart assistants for use with a specific task.
- Who does Amazon Lex affect? Businesses that need to automate customer support or transactional tasks can use Amazon Lex as a component of a custom chatbot in their organization.
- When is Amazon Lex released? Amazon Lex has been in development since 2010, though it only became available as an API for developers in November 2016.
- How do I get Amazon Lex? You can sign up for free trial access on the AWS website.
SEE: Special report: How to implement AI and machine learning (free PDF) (TechRepublic)
What is Amazon Lex?
Amazon Lex is the public-facing version of the technology that powers the automatic speech recognition (ASR) and natural language understanding (NUR) capabilities of Amazon's Alexa assistant, found in Amazon and third-party hardware. Amazon Lex enables programs to process natural human language, allowing for more versatile means of interaction.
Amazon Lex can be leveraged as part of the design for chatbots, which can cover a variety of use cases, including customer support, application / transactional bots (automating tasks such as placing an order or making a reservation), and as a control bot issuing and understanding commands for Internet of Things (IoT) devices.
Note: Amazon Lex is for developing your own chatbot; it is a different product than the Alexa Skills Kit, which is for developers wanting to create an integration with the Alexa assistant found on smart home products.
- Amazon goes all-in on AI and big data at AWS re:Invent 2016 (TechRepublic)
- These analytic and AI services from AWS will be huge hits. Here's why (ZDNet)
- Amazon brings its AI expertise to AWS customers (ZDNet)
- Amazon Echo review: The smart speaker that can control your whole house (CNET)
- How Amazon wants to bridge the data science gap by bringing machine learning to the cloud (TechRepublic)
Why does Amazon Lex matter?
Amazon has released Lex alongside other artificial intelligence targeted services, including Amazon Polly, a natural text-to-speech engine that includes support for 17 languages, including English, French, Spanish, Germany, Japanese, and Portuguese, as well as support for regional accents and dialects (American, Australian, British, Indian, and Welsh English, Canadian French, Brazilian Portuguese, and American and Castilian Spanish). Polly can be integrated with other services and data sets for a variety of use cases, such as automated text-to-speech for reading written content, announcement systems for use in public or industrial settings, and for user feedback with IoT devices.
Amazon Lex and Amazon Polly can be used together to create smart assistants for specific use cases, such as telephone support systems. Amazon Lex, itself, leverages AWS Lambda for intent fulfillment, Amazon Cognito for user authentication, and Polly for text-to-speech synthesis.
Also released at the the same time is Amazon Rekognition, a deep-learning system capable of identifying characteristics of images, such as tagging objects, scenery, and faces. It can also identify the sentiments of faces (frown, smile, anger), and perform facial recognition.
- Video: Breaking down Amazon's 3 newest AI services for AWS (TechRepublic)
- Video: Understanding AWS Greengrass, the new IoT software from Amazon (TechRepublic)
- Microsoft wants to make conversing with your computer the new normal (TechRepublic)
- AI chatbots are overhyped and unimpressive, say developers (TechRepublic)
- Mobile AI: Chatbot intelligence masquerading as the real deal (TechRepublic)
- Amazon Alexa: The smart person's guide (TechRepublic)
Who does Amazon Lex affect?
Businesses that need to automate routine customer support or transactional tasks can benefit by using Amazon Lex as a component of a custom chatbot in their organization.
Chatbots are increasingly being used by many organizations to increase outbound lead generation as part of a strategy to boost sales. In the age of social media, the ability to increase brand engagement with consumers is paramount, and the utilization of chatbots adds a personalized touch to establishing a brand relationship, which can go a long way in developing positive sentiment for your organization.
Programmers have a variety of options for integrating Amazon Lex into their projects. Amazon provides SDKs for Android and iOS, which support text and speech input. Alternatively, text-only input can be processed using Java, JS, Python, CLI, .NET, Ruby, PHP, Go, or C++. By means of AWS Lambda, Amazon Lex can be integrated with the enterprise connectors Salesforce, Microsoft Dynamics, Marketo, Zendesk, QuickBooks, and HubSpot. For security purposes, all Amazon Lex transactions are communicated over HTTPS.
Presently, Amazon Lex is limited to support of US English.
- Machine learning: The smart person's guide (TechRepublic)
- Video: How ChatOps enables the next wave of DevOps in the enterprise (TechRepublic)
- Data scientists: Use sophisticated readability strategies when developing AI chatbots (TechRepublic)
- Are you there, chatbot? It's me, human (CNET)
- Ebook: IT leader's guide to the future of artificial intelligence (Tech Pro Research)
When is Amazon Lex happening?
Amazon Lex has been developed internally at Amazon since at least 2010, including companies that Amazon has acquired in the interest of developing this technology. The Amazon Echo speaker, the first product to support the Alexa personal assistant, was released in November 2014. Amazon Lex was released to the public, alongside other artificial intelligence products at the AWS re:Invent conference, in December 2016.
Pricing for Amazon Lex, as with other AWS services, is metered on a per-use basis. Each voice request is $0.004, while text requests are $0.00075. To illustrate, 1,000 voice requests are billed as $4.00, and 1,000 text requests are $0.75.
- 5 big data trends that will shape AI in 2017 (TechRepublic)
- How to become an Alexa developer: The smart person's guide (TechRepublic)
- 10 Amazon Alexa skills to add to your Echo today (TechRepublic)
- Gallery: 10 Alexa-enabled devices that aren't built by Amazon (TechRepublic)
- Cortana can now automatically create reminders by reading your email (TechRepublic)
Which products are Amazon Lex's competitors?
Hewlett Packard Enterprise has a competing product, IDOL, which includes personalized knowledge discovery in addition to natural language processing. Google's Natural Language Processing API is also a competent alternative to Amazon Lex, with support for English, Spanish, and Japanese.
- HPE enters natural language question answering fray (ZDNet)
- Should Google be your AI and machine learning platform? (ZDNet)
- Should Amazon be your AI and machine learning platform? (ZDNet)
- Microsoft introduces Zo, a new "social chatbot" (CBS News)
- The brains behind Geneva, GE Appliance's Alexa skill (TechRepublic)
- The Drippler Wiz chatbot is a great idea with serious possibility (TechRepublic)
- Alexa and Google Home's dirty little secret: 97% of voice apps are only used for one week (TechRepublic)
How do I get Amazon Lex?
It is easy to get started using Amazon Lex. Prospective users can sign up for the free preview program. Presently, Amazon Lex is only available in the US East AWS Region.
- Amazon Lex Developer Guide (AWS)
- The cloud war moves to machine learning: Does Google have an edge? (TechRepublic)
- HPE enters natural language question answering fray (ZDNet)
- Google's DeepMind: What can these battling AIs tell us about human behavior? (ZDNet)
- Google is bringing AI to your Raspberry Pi (ZDNet)
James Sanders is a Java programmer specializing in software as a service and thin client design, and virtualizing legacy programs for modern hardware.