hands-on lab

Using Text Analytics in the Azure AI Services API

Beginner
Up to 1h
2,461
4.4/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

Azure AI is Microsoft's solution for many of the most popular and widely-used AI and machine learning needs today. It incorporates a wide range of different tools that offer different AI-related services, such as text analytics, speech and image recognition, interacting with humans, making intelligent predictions and more. Artificial intelligence has been applied to nearly every existing industry today, and companies use Azure AI in particular because of the breadth of its offerings and its easy integration with existing Azure tools, such as Azure function apps and web services.

The AI Services API is a comprehensive solution offering a number of different services in one consolidated API, including speech and text analysis. In this lab, you will practice making requests to the Text Analytics API within the Azure AI Services API, using an Azure function app to make the API requests.

Lab Objectives

Upon completion of this lab you will be able to:

  • Connect an Azure Function App to the Text Analytics API
  • Use the Text Analytics API to detect languages and analyze sentiment in text

Intended Audience

This lab is intended for:

  • Developers
  • Cloud engineers
  • Anyone aiming to implement AI or machine learning within their workflow

Prerequisites

You should be familiar with:

  • The principles of Node.js is helpful but not required
  • The principles of the Azure Portal are helpful but not required

Updates

November 22nd, 2023 - Fixed function output 204 issue

September 28th, 2023 - Updated instructions to reflect change in Azure AI Services

September 12th, 2023 - Resolved function output issue

July 20th, 2023 - Resolved deployment issue

May 26th, 2023 - Resolved an issue that caused the lab to fail periodically

March 10th, 2022 - Updated the instructions and screenshots to reflect the latest UI

July 29th, 2020 - Updated the content to match the latest Azure Portal experience

Environment before

Environment after

About the author
Avatar
Matt Martinez, opens in a new tab
Cloud Content & Labs QA
Students
109,326
Labs
41
Learning paths
9

Matt has worked for multiple Fortune 500 companies as a DevOps Engineer and Solutions Architect. He is an AWS Certified DevOps Engineer - Professional, and an AWS Certified Solution Architect - Associate. He enjoys reading and learning new technologies.

Covered topics
Lab steps
Logging in to the Microsoft Azure Portal
Retrieving Azure AI Services API Credentials
Using the Azure Text Analytics API for Language Detection
Using the Azure Text Analytics API for Sentiment Analysis