- Azure Cognitive Services encapsulate AI capabilities.
- Cognitive services includes a wide range of individual AI services across multiple categories, as shown in the following table.
Language Speech Vision Decision Language Speech Computer Vision Anomaly Detector Translator Custom Vision Content Moderator Face Personalizer
- use Cognitive Services to build your own AI solutions, and they also underpin Azure Applied AI Services that provide out-of-the-box solutions for common AI scenarios. Applied AI Services include:
- Azure Form Recognizer - an optical character recognition (OCR) solution that can extract semantic meaning from forms, such as invoices, receipts, and others.
- Azure Metrics Advisor - A service built on the Anomaly Detector cognitive service that simplifies real-time monitoring and response to critical metrics.
- Azure Video Analyzer for Media - A comprehensive video analysts solution build on the Video Indexer cognitive service.
- Azure Immersive Reader - A reading solution that supports people of all ages and abilities.
- Azure Bot Service - A cloud service for delivering conversational AI solutions, or bots.
- Azure Cognitive Search - A cloud-scale search solution that uses cognitive services to extract insights from data and documents.
-
Multi-service resource - supports multiple different cognitive services. For example, you could create a single resource that enables you to use the Language, Computer Vision, Speech, and other services. Single endpoint, credentials, billing for all services.
-
Single-service resource - individually, for example by creating discrete Language and Computer Vision resources. Separate endpoints , credentials, billing for each service.
-
Training and prediction resources - separate resources for model training and prediction. manage billing for training custom models separately
-
Use a REST API & SDK
- creating a Cognitive Services resource
- clone the https://github.com/MicrosoftLearning/AI-102-AIEngineer
folder01-getting-started/rest-client
update config
C#: appsettings.json
Python: .env
review code
C#: Program.cs
Python: rest-client.py
uses the GetLanguage function to call the Text Analytics language detectiont to detect the language of the text that was entered.
run
C#
dotnet run
Python
python rest-client.py
Test : "Hello", "Bonjour", and "Gracias".
01-getting-started/sdk-client
C#
dotnet add package Azure.AI.TextAnalytics --version 5.1.0
Python
pip install azure-ai-textanalytics==5.1.0
C#: appsettings.json
Python: .env
C#: Program.cs
Python: sdk-client.py
C#
dotnet run
Python
python sdk-client.py
Test : "Goodbye", "Au revoir", and "Hasta la vista".
- How are client applications typically granted access to a cognitive services endpoint?
- The application must specify a valid subscription key * [ ] The user of the application must enter a user name and password associated with the Azure subscription.
- Access to cognitive services is granted to anonymous users by default.
- In which format are message exchanged between a client app and a cognitive services resource when using a REST API?
- XML
- JSON
- HTML