Skip to main content
Microsoft.Extensions.AI.Evaluation.Safety package icon

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.

Total Downloads
72.3K
72,259
Published
Jul 14, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Extensions.AI.Evaluation.Safety --version 10.8.0-preview.1.26364.2
Package Manager Console
Install-Package Microsoft.Extensions.AI.Evaluation.Safety -Version 10.8.0-preview.1.26364.2
PackageReference
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Safety" Version="10.8.0-preview.1.26364.2" />

Frameworks

.NETFramework4.6.2 net8.0 net9.0 net10.0 .NETStandard2.0

Dependencies

[10.8.0, )
Azure.Core
.NETFramework4.6.2
[1.49.0, )
Microsoft.Bcl.HashCode
.NETFramework4.6.2
[1.1.1, )
[1.49.0, )
[1.49.0, )
Azure.Core
net10.0
[1.49.0, )
[10.8.0, )
Azure.Core
.NETStandard2.0
[1.49.0, )
Microsoft.Bcl.HashCode
.NETStandard2.0
[1.1.1, )

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.