Published:
Est. reading time: 5 minutes
Author: Mia Hatton
Azure Cognitive Services is a comprehensive family of AI services and cognitive APIs to help you build intelligent apps. Cognitive Services bring AI within reach of every developer – without requiring machine-learning expertise. All it takes is an API call to embed the ability to see, hear, speak, search, understand and accelerate decision-making into your apps.
Azure Cognitive Services is a Microsoft Azure product. Read more about Microsoft Azure here.
Definition of Azure Cognitive Services
From Microsoft:
Azure Cognitive Services: A comprehensive family of AI services and cognitive APIs to help you build intelligent apps. Cognitive Services bring AI within reach of every developer – without requiring machine-learning expertise. All it takes is an API call to embed the ability to see, hear, speak, search, understand and accelerate decision-making into your apps.
Cognitive Services are divided into five categories as outlined below.
Category | Description | Example services |
---|---|---|
Decision | Decision services empower you to “make smarter decisions faster”. This includes offering customers personalised content and detecting and acting on potential problems or problematic content. | Content Moderator, Personaliser |
Language | Language services extract meaning from text, making it easier to support your customers from within your application. | QnA Maker, Text Analytics, Translator Text |
Speech | Speech services perform speech processing, including translation and converting between speech and text. | Speech-to-Text, Text to Speech, Speech translation |
Vision | Vision services provide capability to process images and videos, and analyse the data they extract. | Computer Vision, Face, Ink Recogniser |
Web search | Web search services integrate Bing search capabilities into your application. | Bing Spell Check, Bing Autosuggest, Bing Visual Search |
Does you organisation need Azure Cognitive Services?
Azure Cognitive Services comprise a collection of APIs (application program interfaces), SDKs (software development kits), and services that developers can use to make their apps more intelligent without the need to build and train algorithms from scratch.
You may need Azure Cognitive Services if:
- You want to improve your app’s performance with intelligent features but do not have the resources to build them
- You want to gain insights from your data such as sentiment analysis and video content, but lack the skill to build and train models
- Your app requires intensive administration, for example content moderation or customer service, and you want to reduce the burden
Benefits
Benefits of Azure Cognitive Services include:
- The services provide pre-trained intelligent algorithms, saving the need to invest in building and training models from scratch
- They are quick to set up and can be easily integrated into existing applications
- They add value to your application by improving user experience, and reduce your administrative load
- All of the services offer a free trial tier so you can experiment with them before committing
- Beyond the free trial, the pricing scales with usage so you only pay for the services you use
Technical considerations
Prerequisites and Integrations
To get started with Azure Cognitive Services, you need a Microsoft Azure account. Read more about Microsoft Azure here.
Setting up an Azure Cognitive Services product is quick and easy, and a free tier is available for all of the different services so you can experiment with the services before spending any money.
To set up a service:
- Get a free account on Microsoft Azure, if you don’t already have one
- Go to the Azure Marketplace via the tile on your dashboard
- Search for the service you want to use and click
Create
- Give the resource a name and choose your subscription, resource location, and resource group. Select the free pricing tier (F0) to begin with.
- When the resource is created, save the API key. You will use this to make calls to the resoure from within your application.
Once you have your API key you can call the service from another application, for example:
- Azure Notebooks, or any other Jupyter Notebook
- Docker containers (for select services)
You can also integrate the services into your own application by calling the API.
You can monitor your usage using the Azure Dashboard.
Security and Compliance
Azure Cognitive Services are built on Microsoft Azure security infrastructure and use all Microsoft Azure security measures. You can read more about Microsoft Azure security here.
The privacy of data processed by Azure Cognitive Services is maintained in alignment with Azure’s privacy commitments, which you can read about here.
Microsoft Azure carries an impressive list of compliance certifications which you can view here.
Pricing
Azure Cognitive Services are pay-as-you-go services so you only pay for what you use, and there are no up-front set-up fees. Read more about Microsoft Azure and its pricing structure here.
The pricing structure differs between services. Each service offers a free tier allowance (for example, Bing Autosuggest provides 1000 monthly transactions on the free tier), and beyond the free tier the services are billed by number of transactions (calls to the API) or by amount of data processed. For example:
- Content Moderator is billed per 1000 transactions
- Speech-to-text is billed per audio hour
- Text to Speech is billed per million characters
These billable transactions reduce in cost as monthly thresholds are surpassed.
You can read more about Azure Cognitive Services pricing here.
Alternatives to Azure Cognitive Services
There are other Machine Learning APIs available from different vendors, however Azure Cognitive Services offers the most extensive collection of services. If a competitor offers a service that interests you, your choice will mostly be determined by preference between the vendors, suitability of the interface, individual features and your existing skills.
Other Machine Learning APIs include:
- Amazon Lex, Amazon Translate, and Amazon Rekognition from AWS
- IBM Watson and IBM Visual Recognition from IBM Cloud
- Dialogflow, Cloud Speech API and Cloud Vision API from Google Cloud