AI-900: Microsoft Certified Azure AI Fundamentals
Introduction to Azure AI Services
Azure AI Services
Azure AI services consist of three core offerings: Azure Machine Learning, Azure AI Services, and Azure Cognitive Search. In this guide, you'll learn about each service, explore their unique features, and discover how to deploy and interact with these resources using the Azure portal and REST APIs.
Azure Machine Learning
Azure Machine Learning is a comprehensive cloud platform that supports the entire machine learning lifecycle—including training, deployment, and management. It offers a wide range of machine learning algorithms suitable for various tasks such as image recognition, language processing, and predictive analytics. Its seamless integration capabilities allow you to easily embed machine learning models into your applications, enhancing them with intelligent functions.
Azure Machine Learning is ideal for anyone looking to integrate robust machine learning projects into their applications.
Azure AI Services
Azure AI Services provide a comprehensive suite of tools designed to embed intelligence into your applications. These services simplify the process of adding advanced features by offering capabilities in:
- Vision: Image recognition and analysis.
- Speech: Voice and speech processing.
- Language: Text analytics and natural language understanding.
- Decision-making: Intelligent guidance and automation.
- Generative AI: Content creation algorithms.
These features help developers build applications that understand, interpret, and interact more naturally with users, reducing the complexities often associated with AI development.
Note
Azure AI Services enable a smarter application ecosystem by allowing you to process visual data, recognize speech, analyze text, and generate dynamic content without needing comprehensive AI expertise.
Azure Cognitive Search
Azure Cognitive Search is engineered to efficiently search and retrieve information from vast datasets. By combining traditional keyword searches with intelligent features like semantic understanding and relevance ranking, it enriches your data with insights and organizes it for quick access. This capability not only improves search experience but also aids in decision-making and knowledge discovery.
Deploying and Consuming Azure AI Resources
When deploying Azure AI resources in the cloud, you have two main deployment options:
Standalone Resources: Deploy individual services such as vision, speech, language, or decision-making separately. This method is ideal for a focused service configuration.
Unified Azure AI Service Resources: Deploy a single resource that bundles multiple AI capabilities (Vision, Speech, Language, and Decision-making) into one configuration. This unified approach simplifies management and accelerates deployment.
Accessing Azure AI Services via REST APIs
Azure AI Services are accessible through REST APIs, with each service exposing its own endpoint for interaction via standard HTTP calls. Every API request requires an authentication token or subscription key to secure communication.
Security Reminder
Always ensure that your API requests include the proper authentication token or subscription key to prevent unauthorized access.
Deploying and Testing Azure AI Services Using the Azure Portal
This section explains how to deploy and test Azure AI Services using the Azure portal and Postman.
Step 1: Deploying the Service
Open the Azure portal and search for AI services.
Choose to create individual services (e.g., Computer Vision) or opt for the unified Azure AI Services resource if you need multiple capabilities.
For a unified approach, click on Azure AI Services and create a new resource group (e.g., "AI services AI-900") using the standard pricing tier.
After clicking "Create," wait for the deployment to finish. Once complete, select "Go to resource" to view the service details, including endpoints and subscription keys for various APIs such as Computer Vision, speech, and language.
Step 2: Testing the Computer Vision API with Postman
To test the Computer Vision API, follow these steps:
Copy the endpoint URL for the Computer Vision API.
Open Postman and create a new POST request with the URL.
In the request headers, add your subscription key.
Set the request body to include a JSON payload with the URL of a publicly accessible image. For example:
{ "url": "https://<your_storage_account>/Vision/handwritten.jpg" }
Send the POST request. The response will include an "Operation-Location" header providing a URL to poll for the analysis status.
Duplicate the request tab, change the request type to GET, and paste the Operation-Location URL. Remove the body and ensure the subscription key is included in the request headers.
Click "Send" to retrieve the analysis result. A successful response will look similar to the example below:
{ "status": "succeeded", "createdDateTime": "2024-11-05T15:15:04Z", "lastUpdatedDateTime": "2024-11-05T15:15:05Z", "analyzeResult": { "version": "3.0.0", "readResults": [ { "page": 1, "angle": -0.4915, "width": 2268, "height": 4032, "lines": [ { "boundingBox": [ 532, 995, 1958, 995, 1958, 1045, 532, 1045 ] } ] } ] } }
This indicates that the Computer Vision API successfully processed and recognized the handwritten content in the provided image.
Summary
Integrating Azure AI Services into your projects unlocks a range of intelligent capabilities—from machine learning and language understanding to data enrichment and advanced search. Whether you choose standalone services or a unified resource, Azure's powerful tools and REST APIs provide the flexibility and security necessary for modern intelligent applications.
Good luck as you experiment with these services, and enjoy enhancing your applications with Azure's AI capabilities!
Watch Video
Watch video content