AI/ML, AWS, Azure, DevOps, GCP, M365, Microsoft Power Platform, SharePoint
Wednesday, February 19, 2025
Azure AI services | Language service | Azure Cognitive Search | Sentiment analysis and opinion mining
Wednesday, January 29, 2025
Azure AI services - Use an Azure AI Services Container
Azure AI services - Use an Azure AI Services Container:
Source : https://github.com/MicrosoftLearning/mslearn-ai-services
Create these two services in Azure.
1. Azure AI services multi-service account
2. Azure Container Instances
2. Azure Container Instances:
az container create --resource-group <your-resource-Group> --name whizcontaineryourname --image mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment:latest --os-type Linux --cpu 1 --memory 8 --dns-name-label whizdnnsyourname --ports 5000 --location eastus --restart-policy OnFailure --secure-environment-variables ApiKey=<your-Api-key> Billing=<endpoint> --environment-variables Eula=accept --ip-address Public
az container create --resource-group rg1 --name sreecontainer1 --image mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment:latest --os-type Linux --cpu 1 --memory 8 --dns-name-label sreednns1 --ports 5000 --location eastus --restart-policy OnFailure --secure-environment-variables ApiKey=AjShjnYv3s56NZNIAkHBni7RCPQCOGAIif Billing=https://sreemultiserviceaccount1.cognitiveservices.azure.com/ --environment-variables Eula=accept --ip-address Public
docker run --rm -it -p 5000:5000 --memory 8g --cpus 1 mcr.microsoft.com/azure-cognitive-services/textanalytics/sentiment:latest Eula=accept Billing=<yourEndpoint> ApiKey=<yourKey>
Testing:
OutPut:
Featured Post
Reassign a Copilot Studio Agent Owner Using PowerShell and the Dataverse Web API
Reassign a Copilot Studio Agent Owner Using PowerShell and the Dataverse Web API Every Copilot Studio agent is a row in the Dataverse bot t...
Popular posts
-
CAML:- --------- <Where> <IsNotNull> <FieldRef Name='ID' /> </IsNotNull> ...
-
WebForm1.aspx:- ------------------------- <% @ Page Language ="C#" AutoEventWireup ="true" CodeBehind ="...
-
This operation can be performed only on a computer that is joined to a server farm by users who have permissions in SQL Server to read from...
-
Authorize Postman to access SharePoint 1. Register Add-In 2. Grant Permissions to Add-In 3. Generate the Access Token 4. Access th...
-
CreateDocumentSet.aspx <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Import Namesp...
-
Reading an excel file using HTML 5 and jQuery and save in SharePoint list Reference https://github.com/SheetJS/js-xlsx https://github.co...
-
Read SharePoint list Items using REST API and ReactJS Step1: Create a "ReactDemo" list and list columns as shown below. ...
-
Read excel data from document library saving as list items using CSOM in SharePoint. 1. Upload an excel file into Document library. This ...
-
CAML Query filter between two dates Method 1:- </And><Geq><FieldRef Name='Created' /><Value Type='Date...