Microsoft.Extensions.AI.Evaluation.Safety
A library that contains a set of evaluators that are built atop the Azure AI Foundry Evaluation service that can be used to evaluate the content safety of AI responses in your projects including Protected Material, Groundedness Pro, Ungrounded Attributes, Hate and Unfairness, Self Harm, Violence, Sexual, Code Vulnerability and Indirect Attack.
Install
dotnet add package Microsoft.Extensions.AI.Evaluation.Safety --version 10.8.0-preview.1.26364.2
Install-Package Microsoft.Extensions.AI.Evaluation.Safety -Version 10.8.0-preview.1.26364.2
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Safety" Version="10.8.0-preview.1.26364.2" />
Frameworks
Dependencies
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.
Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.