This article serves as your compass in navigating the intricate landscape of content safety. Delve into the realm of Azure AI Content Safety, an innovative offering from Microsoft Azure designed to identify and address harmful content originating from both users and AI systems within various digital platforms. These tools empower developers to create platforms that prioritize safety and inclusivity and organizations can explore the core features of Azure AI Content Safety to have a safer online experience for everyone.
Several use cases:
Start with Azure Content Safety Studio
https://learn.microsoft.com/en-us/azure/ai-services/content-safety/studio-quickstart
HTTP Snippet- Try in POSTMAN
POST /contentsafety/text:analyze?api-version=2023-04-30-preview HTTP/1.1
Host: openaicontentsafetydemo.cognitiveservices.azure.com
Ocp-Apim-Subscription-Key: efae***********fa0ac*6affc
Content-Type: application/json
Content-Length: 161
{
"text": "Education is the most powerful weapon which you can use to change the world.",
"categories": [
"Hate","Sexual","SelfHarm","Violence"
]
}
RESPONSE
STEP#2
Scenario 1 : Customer feedback or Comments gets created in SharePoint List. You want to get Content Safety flags
STEP#3
Create a PowerAutomate
Here are the steps to create a Power Flow:
Get HTTP URI and key from STEP#1
Set BodyAdd Parse JSON
Content body variable from HTTP action
Scheme Paste below content
Update the value in SharePoint list
Scenario 2 : upload a PDF and ask questions and validate Content Safety before chatting with data.
Refer to GITHUB repo for PDF extraction full demo.
https://github.com/msavita-cloud/OpenAIPowerApp
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.