Microsoft.Extensions.AI.Evaluation.Console
10.8.0
Prefix Reserved
dotnet tool install --global Microsoft.Extensions.AI.Evaluation.Console --version 10.8.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Microsoft.Extensions.AI.Evaluation.Console --version 10.8.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Microsoft.Extensions.AI.Evaluation.Console&version=10.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Microsoft.Extensions.AI.Evaluation.Console --version 10.8.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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, Retrieval, Equivalence and Groundedness.Microsoft.Extensions.AI.Evaluation.Safety- 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.Microsoft.Extensions.AI.Evaluation.NLP- Contains a set of evaluators that implement common algorithms for evaluating machine translation and natural language processing tasks. Evaluators currently include BLEU, GLEU and F1 scores.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.Safety
dotnet add package Microsoft.Extensions.AI.Evaluation.Reporting
dotnet add package Microsoft.Extensions.AI.Evaluation.NLP
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.Safety" Version="[CURRENTVERSION]" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Reporting" Version="[CURRENTVERSION]" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.NLP" 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 Microsoft.Extensions.AI.Evaluation library usage examples, see the following tutorials:
- Quickstart: Evaluate response quality
- Tutorial: Evaluate response quality with caching and reporting
- Tutorial: Evaluate response safety with caching and reporting
Feedback & Contributing
We welcome feedback and contributions in our GitHub repo.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.8.0 | 323 | 7/14/2026 |
| 10.7.0 | 2,231 | 6/9/2026 |
| 10.6.0 | 1,015 | 5/12/2026 |
| 10.5.0 | 2,638 | 4/15/2026 |
| 10.4.0 | 23,875 | 3/10/2026 |
| 10.3.0 | 2,519 | 2/10/2026 |
| 10.2.0 | 2,713 | 1/13/2026 |
| 10.1.0 | 4,135 | 12/9/2025 |
| 10.0.0 | 1,281 | 11/11/2025 |
| 9.10.0 | 3,531 | 10/14/2025 |
| 9.9.0 | 665 | 9/9/2025 |
| 9.8.0 | 553 | 8/12/2025 |
| 9.7.0 | 694 | 7/8/2025 |
| 9.6.0 | 2,877 | 6/10/2025 |
| 9.5.0 | 4,594 | 5/16/2025 |
| 9.5.0-preview.1.25262.9 | 288 | 5/13/2025 |
| 9.4.4-preview.1.25259.16 | 147 | 5/10/2025 |
| 9.4.3-preview.1.25230.7 | 212 | 5/1/2025 |
| 9.4.0-preview.1.25207.5 | 359 | 4/8/2025 |
| 9.3.0-preview.1.25164.6 | 198 | 3/14/2025 |
Loading failed