aws re:invent 2016: new launch! workshop: hands on with amazon lex, amazon polly, and amazon...

27
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon AI November 30, 2016 NEW LAUNCH! Workshop: Hands on with Amazon Lex, Amazon Polly, and Amazon Rekognition MAC308

Upload: amazon-web-services

Post on 06-Jan-2017

333 views

Category:

Technology


0 download

TRANSCRIPT

© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

Amazon AI

November 30, 2016

NEW LAUNCH! Workshop: Hands on with

Amazon Lex, Amazon Polly, and Amazon

Rekognition

MAC308

Amazon Polly

• A service that converts text into lifelike speech

• Offers 47 lifelike voices across 24 languages

• Low latency responses enable developers to build

real-time systems

• Developers can store, replay and distribute

generated speech

Voicing your blog

https://github.com/awslabs/amazon-polly-sample

AWS Blog

Architecture

RSS Feed Amazon Polly

Amazon

CloudWatch

Amazon S3AWS Lambda

1. Trigger

2. Check

3. Content

4. Text 5. Audio

6. Audio

Workshop & Demo

Source

from boto3 import Session, resource

from contextlib import closing

polly = Session().client(”polly")

response = polly.synthesize_speech(

Text="Sample content",

OutputFormat="mp3", VoiceId="Joanna")

with closing(response["AudioStream"]) as stream:

bucket = resource("s3").Bucket("podcasts")

bucket.put_object(Key="output.mp3",

Body=stream.read())

Summary

RSS Feed Amazon Polly

Amazon

CloudWatch

Amazon S3AWS Lambda

1. Trigger

2. Check

3. Content

4. Text 5. Audio

6. Audio

Code & instructions

https://github.com/awslabs/amazon-polly-sample

Other use cases

Thank you!

What to Expect from the Session

Introduction to Amazon Lex

Create a movie bot to book tickets

Build Lex bot

Configure Lambda Functions

Wire Lex bot to Lambda Functions

Create Cognito Federated Identity Pool

Create Android App

Amazon Lex:

A new service for building

conversational interfaces

using voice and text

Amazon Lex – Use Cases

Informational BotsChatbots for everyday consumer requests

Application BotsBuild powerful interfaces to mobile applications

• News updates

• Weather information

• Game scores ….

• Book tickets

• Order food

• Manage bank accounts ….

Enterprise Productivity BotsStreamline enterprise work activities and improve efficiencies

• Check sales numbers

• Marketing performance

• Inventory status ….

Internet of Things (IoT) BotsEnable conversational interfaces for device interactions

• Wearables

• Appliances

• Auto ….

AWS Lambda

Android

Amazon Lex

Architecture

Mobile App Amazon Lex

Speech Recognition &

Natural Language

understanding

AWS Lambda:

Business Logic

Amazon CloudWatch

Monitoring

User input

Polly TTS

Speech

Text

…..

…..

DynamoDB

SNS

1:”Where is Trolls playing

tomorrow?”2: Amazon Lex recognizes that the user

wants to look up movie show times

4: Movie times are retrieved via

searchMovies () API

5: “Trolls is playing at

Movie Palace 16”

3: Amazon Lex engages in

multi-turn conversation to

get additional information

such as city, time, etc

Let’s build!

Amazon Lex Benefits

High quality text and speech language

understanding

Built-in integration with the AWS platform

Seamlessly deploy and scale

Easy to use

Cost effective

How Do I Get Started Using

Amazon Lex?

Register for the Preview @

aws.amazon.com/lex

Sign-up & whitelist

Build your first bot!

✔✔✔

Thank you!

Amazon Rekognition

Q & A

Thank you!

Remember to complete

your evaluations!

Related Sessions

DCS205 - Workshop: Building Serverless Bots on AWS – Botathon