Does azure-ai-contentsafety client library have functionality to call promptShield and protectedMaterialDetection endpoint? If not when will it come?

Nitish Gautam 0 Reputation points
2024-11-18T06:53:45.2633333+00:00

Does azure-ai-contentsafety client library have functionality to call promptShield and protectedMaterialDetection endpoint? If not when will it come? I want to call Azure AI content safety's promptShield and protectedMaterialDetection endpoint through contentsafety client provided by Azure

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,004 questions
Azure AI Content Safety
Azure AI Content Safety
An Azure service that enables users to identify content that is potentially offensive, risky, or otherwise undesirable. Previously known as Azure Content Moderator.
26 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sina Salam 14,626 Reputation points
    2024-11-18T12:37:12.7033333+00:00

    Hello Nitish Gautam,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are in need of support for promptShield and protectedMaterialDetection and its future update for your project.

    As of now, the Azure AI Content Safety client library does not explicitly support the promptShield and protectedMaterialDetection endpoints. The library is primarily designed for analyzing text and images to detect harmful content. - https://zcusa.951200.xyz/en-us/python/api/overview/azure/ai-contentsafety-readme?view=azure-python

    There is no specific information available about when or if these endpoints will be added to the Azure AI Content Safety client library. For the latest updates, it's best to check the official Azure AI Content Safety documentation and Azure updates. - https://zcusa.951200.xyz/en-us/azure/ai-services/content-safety/concepts/protected-material

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

  2. SriLakshmi C 1,375 Reputation points Microsoft Vendor
    2024-11-18T15:06:58.9466667+00:00

    Hello Nitish Gautam,

    Welcome to Microsoft Q&A!

    Thank you for raising the question regarding whether the azure-ai-contentsafety client library supports the promptShield and protectedMaterialDetection endpoints,

    The Azure AI Content Safety client library does not currently support the promptShield and protectedMaterialDetection endpoints. Instead, the library primarily focuses on text and image moderation, including detecting harmful content such as hate, violence, and self-harm.

    Unfortunately, Microsoft has not yet announced a release date for when the promptShield and protectedMaterialDetection endpoints will be added to the Azure AI Content Safety client library.

    However, you can keep an eye on the Azure AI Content Safety release notes for updates on What's new in Azure AI Content Safety page will be updated accordingly with more details.

    I hope you understand. And, if you have any further query do let us know.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.