Lesson 1 of 1 AWS AI and Machine Learning Services

Recognising Managed AWS AI Services

This lesson explains how to recognise which managed AI service solves a described problem, as a purpose-built alternative to building models.

Learning outcomes

After completing this lesson, you will be able to:

  • Identify the managed AI service for each task.
  • Describe how AI services combine in event-driven workflows.
  • Choose between managed AI services and SageMaker AI.

Services by task

AWS provides managed AI services for common tasks, requiring no machine learning expertise. The following table identifies the service suited to each task.

TaskService
Objects, faces, text, unsafe content in images and videoAmazon Rekognition
Text, forms and tables from scanned documentsAmazon Textract
Sentiment, entities, key phrases, language, PII (plus Medical)Amazon Comprehend
TranslationAmazon Translate
Speech to textAmazon Transcribe
Text to lifelike speechAmazon Polly
Chatbots and voice botsAmazon Lex
Build, train and deploy custom modelsAmazon SageMaker AI
Match the pairs

AI services by task

Exam skills 2.1.7

Match each task with the managed AI service that performs it.

Log in to try this activity Interactive activities are free with an account.

Event-driven examples

AWS AI services are often combined in event-driven workflows that need no machine learning expertise. In one example, an invoice uploaded to Amazon S3 triggers a Lambda function, which uses Amazon Textract to extract the supplier, amounts and dates and stores them in DynamoDB.

In another, call recordings pass through Amazon Transcribe, which converts speech to text, and then Amazon Comprehend, which detects sentiment and key phrases, so that a contact centre can find unhappy customers automatically.

The following diagram shows the two workflows described above.

Two event-driven AI workflows. An invoice uploaded to S3 triggers a Lambda function that uses Amazon Textract to extract the supplier, amounts and dates and stores them in DynamoDB. Call recordings pass through Amazon Transcribe, which produces text, and Amazon Comprehend, which detects sentiment and key phrases.
Neither workflow needs a trained model; each managed service is called through its API.
Put in order

Analysing calls

Exam skills 2.1.1 · 2.1.7

Put the stages of a call analysis workflow in order.

Log in to try this activity Interactive activities are free with an account.

Choosing the level

AWS offers AI at two levels of abstraction, and the right level is the highest one that meets the requirement. Managed AI services, such as Rekognition for images or Transcribe for speech, perform a specific task through an API, with no machine learning expertise and the least effort. SageMaker AI is for building, training or fine-tuning your own models on your own data, which gives the most control but needs data science skills. The following table summarises the choice.

OptionChoose when
Managed AI serviceIt covers the task: least effort, no ML expertise
SageMaker AITraining or fine-tuning your own model on your own data
Worked example

Adding AI without data scientists

Many AI requirements can be met by managed services that require no machine learning expertise. The following table identifies the service suited to each requirement.

RequirementService
Extract fields from scanned invoicesAmazon Textract
Detect inappropriate images uploaded by usersAmazon Rekognition
Transcribe and analyse customer callsAmazon Transcribe and Amazon Comprehend
A voice bot for the call centreAmazon Lex
Read product descriptions aloud on the websiteAmazon Polly
Predict equipment failure from the company's own sensor dataAmazon SageMaker AI (custom model)

Only the last requirement needs a custom model, because no ready-made service knows the company's sensor data. Architecture questions usually reward the most managed service that meets the need.

Check yourself

Which service extracts text and tables from scanned forms?

Show answer

Amazon Textract. Amazon Rekognition analyses images and video, and Amazon Comprehend analyses text.

Exam Tips

Remember for the exam

  • To detect objects or inappropriate content in images, use Rekognition.
  • To extract data from invoices or forms, use Textract.
  • To analyse the sentiment of customer reviews use Comprehend; to convert text to speech use Polly.
  • To build a chatbot or voice bot, use Lex; to convert speech to text, use Transcribe.
  • For the least operational effort on a common AI task, use the purpose-built managed service.
  • To train a custom model on your own data, use SageMaker AI.