Microsoft.Extensions.AI.Evaluation 9.3.0-preview.1.25126.9
The Microsoft.Extensions.AI.Evaluation libraries
Microsoft.Extensions.AI.Evaluation is a set of .NET libraries defined in the following NuGet packages that have been designed to work together to support building processes for evaluating the quality of AI software.
Microsoft.Extensions.AI.Evaluation- Defines core abstractions and types for supporting evaluation.Microsoft.Extensions.AI.Evaluation.Quality- Contains evaluators that can be used to evaluate the quality of AI responses in your projects including Relevance, Truth, Completeness, Fluency, Coherence, Equivalence and Groundedness.Microsoft.Extensions.AI.Evaluation.Reporting- Contains support for caching LLM responses, storing the results of evaluations and generating reports from that data.Microsoft.Extensions.AI.Evaluation.Reporting.Azure- Supports theMicrosoft.Extensions.AI.Evaluation.Reportinglibrary with an implementation for caching LLM responses and storing the evaluation results in an Azure Storage container.Microsoft.Extensions.AI.Evaluation.Console- A command line dotnet tool for generating reports and managing evaluation data.
Install the packages
From the command-line:
dotnet add package Microsoft.Extensions.AI.Evaluation
dotnet add package Microsoft.Extensions.AI.Evaluation.Quality
dotnet add package Microsoft.Extensions.AI.Evaluation.Reporting
Or directly in the C# project file:
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.AI.Evaluation" Version="[CURRENTVERSION]" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Quality" Version="[CURRENTVERSION]" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Reporting" Version="[CURRENTVERSION]" />
</ItemGroup>
You can optionally add the Microsoft.Extensions.AI.Evaluation.Reporting.Azure package in either of these places if you need Azure Storage support.
Install the command line tool
dotnet tool install Microsoft.Extensions.AI.Evaluation.Console --create-manifest-if-needed
Usage Examples
For a comprehensive tour of all the functionality, concepts and APIs available in the Microsoft.Extensions.AI.Evaluation libraries, check out the API Usage Examples available in the dotnet/ai-samples repo. These examples are structured as a collection of unit tests. Each unit test showcases a specific concept or API, and builds on the concepts and APIs showcased in previous unit tests.
Feedback & Contributing
We welcome feedback and contributions in our GitHub repo.
Showing the top 20 packages that depend on Microsoft.Extensions.AI.Evaluation.
| Packages | Downloads |
|---|---|
|
Microsoft.Agents.AI
Provides Microsoft Agent Framework core functionality.
|
2 |
|
Microsoft.Agents.AI
Provides Microsoft Agent Framework core functionality.
|
1 |
|
Microsoft.Agents.AI.Workflows
Provides Microsoft Agent Framework support for workflows.
|
1 |
.NET Framework 4.6.2
- Microsoft.Extensions.AI.Abstractions (>= 9.3.0-preview.1.25114.11)
- Microsoft.ML.Tokenizers (>= 1.0.1)
.NET 8.0
- Microsoft.Extensions.AI.Abstractions (>= 9.3.0-preview.1.25114.11)
- Microsoft.ML.Tokenizers (>= 1.0.1)
.NET 9.0
- Microsoft.Extensions.AI.Abstractions (>= 9.3.0-preview.1.25114.11)
- Microsoft.ML.Tokenizers (>= 1.0.1)
.NET Standard 2.0
- Microsoft.Extensions.AI.Abstractions (>= 9.3.0-preview.1.25114.11)
- Microsoft.ML.Tokenizers (>= 1.0.1)
| Version | Downloads | Last updated |
|---|---|---|
| 10.7.0 | 0 | 06/09/2026 |
| 10.6.0 | 1 | 05/28/2026 |
| 10.5.0 | 1 | 05/28/2026 |
| 10.4.0 | 1 | 05/28/2026 |
| 10.3.0 | 1 | 05/28/2026 |
| 10.2.0 | 1 | 05/28/2026 |
| 10.1.0 | 1 | 05/28/2026 |
| 10.0.0 | 1 | 05/28/2026 |
| 9.10.0 | 1 | 05/28/2026 |
| 9.9.0 | 1 | 05/28/2026 |
| 9.8.0 | 1 | 05/28/2026 |
| 9.7.0 | 1 | 05/28/2026 |
| 9.6.0 | 1 | 05/28/2026 |
| 9.5.0 | 1 | 05/28/2026 |
| 9.5.0-preview.1.25262.9 | 1 | 05/28/2026 |
| 9.4.4-preview.1.25259.16 | 1 | 05/28/2026 |
| 9.4.3-preview.1.25230.7 | 1 | 05/28/2026 |
| 9.4.0-preview.1.25207.5 | 1 | 05/28/2026 |
| 9.3.0-preview.1.25164.6 | 1 | 05/28/2026 |
| 9.3.0-preview.1.25126.9 | 1 | 05/28/2026 |
| 9.3.0-preview.1.25114.11 | 1 | 05/28/2026 |
| 0.9.56-preview | 1 | 05/28/2026 |
| 0.9.45-preview | 1 | 05/28/2026 |
| 0.9.37-preview | 1 | 05/28/2026 |
| 0.9.6-preview | 1 | 05/28/2026 |
| 0.9.5-preview | 1 | 05/28/2026 |
| 0.9.2-preview | 1 | 05/28/2026 |