Amazon opens up Alexa chatbot tools to developers

Amazon Web Services (AWS) has unveiled a host of new tools and partnerships designed to boost its enterprise offering and expand its foothold in the AI market by placing Alexa's brainpower in the hands of developers.

Amazon Lex, the AI technology that powers the Echo's Alexa smart home assistant, has been made generally available for developers wishing to build chatbot features into their own apps.

The service, which has been in preview since late 2016, will allow creators to build speech recognition functions into apps, including conversational features that are able to monitor the weather, check the latest news, order food, or get the latest marketing data for businesses in much the same way as Alexa currently works.

"Thousands of machine learning and deep learning experts across Amazon have been developing AI technologies for years, and Amazon Alexa includes some of the most sophisticated and powerful deep learning technologies in existence," said Raju Gulabani, VP of databases, analytics and AI at AWS.

"We thought customers might be excited to use the same technology that powers Alexa to build conversational apps, but we've been blown away by the customer response to our preview."

The move signals Amazon's intent to become one of the leading players in chat-based AI, having dominated the smart home assistant race with Alexa. However with estimated sales of 10 million or more, Amazon is still far behind the numbers achieved by Apple devices with the Siri AI built in.

Processing a speech request in Amazon Lex

In order to make use of the service, developers are required to provide sample phrases to indicate the actions a user might take, for example "Book a Flight", as well as the corresponding data Lex will need to source. This essentially removes the need for training and sophisticated algorithms on the developer's side, as Amazon Lex is able to do all the heavy lifting required to run and test the applications.

Once Lex has an understanding of the desired functions of a chat application, the system then builds a machine learning model that is able to manage the conversations and understand user intent. At this point the app is functional and can be published to smartphones or installed into IoT devices, with all the authentication procedures secured and managed entirely by Amazon.

Multiple pricing options are available based on the number of requests to be processed. The first year is free, in which you are able to process 10,000 text requests and 5,000 speech requests. Full pricing options are available here, with speech requests charged at $0.004 each.

Focus on the enterprise

AWS is clearly eying the enterprise as one of its largest potential customers of chat-based AI, as Lex has been built with AWS Lambda integration from the ground up. This system allows developers to run application code without the need for servers, and create apps that can retrieve data from other enterprise apps, including Salesforce and Zendesk, or AWS services including Amazon DynamoDB.

Alongside the announcement on Wednesday, Amazon revealed that HERE, a maps and location services company formerly part of Nokia, would be exclusively building its latest business extensions on AWS. The new tools will grant businesses access to real time sensor data on traffic conditions and hazards, in a bid to reduce congestion and improve safety, as well as logistical data covering infrastructure and the transportation of goods.

AWS also unveiled its new Redshift Spectrum feature that allows its customers to run SQL against their data hosted in Amazon's Simple Storage service (S3), allowing users to make use of analytical queries on data stored outside of local disks. Given the price drop of storing data, many customers have turned to hosting data inside S3 data lakes, according to Amazon, including unstructured data that is unlikely to make it to a data warehouse. The new tools promise to make it easier for customers to run Redshift SQL queries, regardless of where their data is stored.

Dale Walker

Dale Walker is the Managing Editor of ITPro, and its sibling sites CloudPro and ChannelPro. Dale has a keen interest in IT regulations, data protection, and cyber security. He spent a number of years reporting for ITPro from numerous domestic and international events, including IBM, Red Hat, Google, and has been a regular reporter for Microsoft's various yearly showcases, including Ignite.