Use Azure AI services containers
There are container images for Azure AI services in the Microsoft Container Registry that you can use to deploy a containerized service that encapsulates an individual Azure AI services service API.
To deploy and use an Azure AI services container, the following three activities must occur:
- The container image for the specific Azure AI services API you want to use is downloaded and deployed to a container host, such as a local Docker server, an Azure Container Instance (ACI), or Azure Kubernetes Service (AKS).
- Client applications submit data to the endpoint provided by the containerized service, and retrieve results just as they would from an Azure AI services cloud resource in Azure.
- Periodically, usage metrics for the containerized service are sent to an Azure AI services resource in Azure in order to calculate billing for the service.
Even when using a container, you must provision an Azure AI services resource in Azure for billing purposes. Client applications send their requests to the containerized service, meaning that potentially sensitive data is not sent to the Azure AI services endpoint in Azure; but the container must be able to connect to the Azure AI services resource in Azure periodically to send usage metrics for billing.
Azure AI services container images
Each container provides a subset of Azure AI services functionality. For example, not all features of the Azure AI Language service are in a single container. Language detection, translation, and sentiment analysis are each separate container images. However, the setup steps are similar for each container.
Language containers
For the AI Language service, the core features map to separate images:Expand table
Feature | Image |
---|---|
Key Phrase Extraction | mcr.microsoft.com/azure-cognitive-services/textanalytics/keyphrase |
Language Detection | mcr.microsoft.com/azure-cognitive-services/textanalytics/language |
Sentiment Analysis | mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment |
Named Entity Recognition | mcr.microsoft.com/product/azure-cognitive-services/textanalytics/language/about |
Text Analytics for health | mcr.microsoft.com/product/azure-cognitive-services/textanalytics/healthcare/about |
Translator | mcr.microsoft.com/product/azure-cognitive-services/translator/text-translation/about |
Summarization | mcr.microsoft.com/azure-cognitive-services/textanalytics/summarization |