Update (05/16/17): Emotion was originally called out a separate API but all functionality is included as part of the Face API. The standalone Emotion API is not part of our deployment in Azure Government.
In March, we announced the initial preview of Cognitive Services in Azure Government. Today we are expanding the initial preview to include all Azure Government customers.
Building Artificial Intelligence into your applications can be a daunting task. With Cognitive Services, we bring a set of APIs that allow you to quickly integrate AI into your application. Our partners during the preview have been using these APIs to build some compelling scenarios. One law enforcement customer is using the translation API to ensure a reliable and accurate translation when interviewing people. Another customer is piloting the use of the facial recognition API to replace their custom facial recognition, tripling their accuracy.
If you are interested in see what a developer can do with the Cognitive Services, you can check out the 3-part series and video we published in March:
- Building a solution on Azure Government Part I: Cognitive Services
- Building a solution on Azure Government Part II: HDInsight
- Building a solution on Azure Government Part III: Power BI
The capabilities that are currently included in the preview are:
- Face (including Emotion)
- Computer Vision
- Translator
There are few key differences right now from the APIs in Azure Commercial:
- No Azure Portal UI for Cognitive Services – Management is through the Cognitive Services PowerShell cmdlets (see below for steps)
- The Cognitive Services APIs in Azure Government have a different root URL – https://cognitivevirginiaprod.azure-api.us/
- Translator in Azure Government does not support the Translator Hub, Web Widget or Collaborative Translation Framework (CTF).
If you have any questions about the preview or problems creating an account, please reach out to azgovfeedback@microsoft.com.
Getting Started
To start using a Cognitive Services API that is part of our government preview you need to do the following:
- Create an Azure Government Subscription – If you do not have one already you can sign up for the Azure Government Trial.
- Install Azure PowerShell and the Cognitive Services PowerShell Package.
- Login to your Azure Government Account with PowerShell.
- Create a resource group. You can skip if you have an existing resource group:
New-AzureRMResourceGroup -Name {resourcegroup} -Location 'usgovvirginia'
- Create a new Cognitive Services account for the API you are planning to use. Repeat this step for each API you want to use:
New-AzureRmCognitiveServicesAccount -ResourceGroupName '{resourcegroup}' -name '{name}' -Type {ComputerVision | Emotion | Face | SpeechTranslation | TextTranslation} -SkuName F0 -Location 'usgovvirginia'
Note that if the RP is note registered please register Microsoft.CognitiveServices.
- Retrieve the key for use in your application:
$key = New-AzureRmCognitiveServicesAccountKey -ResourceGroupName '{resourcegroup}' -name '{resourcename}' -KeyName {Key1 | Key2}
For more information on the Cognitive Services PowerShell please see their documentation.
To validate your keys, you can use the sample request generator here – https://cognitivevirginiaprod.portal.azure-api.us/docs/services/
We welcome your comments and suggestions to help us continually improve your Azure Government experience. To stay up to date on all things Azure Government, be sure to subscribe to our RSS feed and to receive emails, click “Subscribe by Email!” on the Azure Government Blog. To experience the power of Azure Government for your organization, sign up for an Azure Government Trial.
0 comments