Skip to content

Commit 59531c0

Browse files
Mark Microsoft.Extensions.AI.Evaluation.* Libraries as stable (#6450)
* Mark Microsoft.Extensions.AI packages stable All packages except Microsoft.Extensions.AI.Evaluation.Safety are being marked stable. * Remove primary constructors from API json files. * Remove more primary constructors from API Chief json --------- Co-authored-by: Jeff Handley <[email protected]>
1 parent 749caed commit 59531c0

File tree

10 files changed

+1314
-16
lines changed

10 files changed

+1314
-16
lines changed

src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Microsoft.Extensions.AI.Evaluation.Console.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414
<PropertyGroup>
1515
<Workstream>AIEval</Workstream>
16-
<Stage>preview</Stage>
16+
<Stage>normal</Stage>
1717
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
1818
<EnablePackageValidation>false</EnablePackageValidation>
19-
<MinCodeCoverage>8</MinCodeCoverage>
20-
<MinMutationScore>0</MinMutationScore>
19+
<MinCodeCoverage>n/a</MinCodeCoverage>
20+
<MinMutationScore>n/a</MinMutationScore>
2121
</PropertyGroup>
2222

2323
<!--
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"Name": "Microsoft.Extensions.AI.Evaluation.Console, Version=9.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
3+
"Types": []
4+
}

src/Libraries/Microsoft.Extensions.AI.Evaluation.Quality/Microsoft.Extensions.AI.Evaluation.Quality.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
<PropertyGroup>
1010
<Workstream>AIEval</Workstream>
11-
<Stage>preview</Stage>
11+
<Stage>normal</Stage>
1212
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
1313
<EnablePackageValidation>false</EnablePackageValidation>
1414
<!-- The evaluators in this assembly need AI and the tests that cover them are not being run in CI at the moment. -->
15-
<MinCodeCoverage>4</MinCodeCoverage>
16-
<MinMutationScore>0</MinMutationScore>
15+
<MinCodeCoverage>n/a</MinCodeCoverage>
16+
<MinMutationScore>n/a</MinMutationScore>
1717
</PropertyGroup>
1818

1919
<PropertyGroup>

src/Libraries/Microsoft.Extensions.AI.Evaluation.Quality/Microsoft.Extensions.AI.Evaluation.Quality.json

Lines changed: 289 additions & 0 deletions
Large diffs are not rendered by default.

src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting.Azure/Microsoft.Extensions.AI.Evaluation.Reporting.Azure.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
<PropertyGroup>
1212
<Workstream>AIEval</Workstream>
13-
<Stage>preview</Stage>
13+
<Stage>normal</Stage>
1414
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
1515
<EnablePackageValidation>false</EnablePackageValidation>
16-
<MinCodeCoverage>88</MinCodeCoverage>
17-
<MinMutationScore>0</MinMutationScore>
16+
<MinCodeCoverage>n/a</MinCodeCoverage>
17+
<MinMutationScore>n/a</MinMutationScore>
1818
</PropertyGroup>
1919

2020
<ItemGroup>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"Name": "Microsoft.Extensions.AI.Evaluation.Reporting.Azure, Version=9.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
3+
"Types": [
4+
{
5+
"Type": "static class Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageReportingConfiguration",
6+
"Stage": "Stable",
7+
"Methods": [
8+
{
9+
"Member": "static Microsoft.Extensions.AI.Evaluation.Reporting.ReportingConfiguration Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageReportingConfiguration.Create(Azure.Storage.Files.DataLake.DataLakeDirectoryClient client, System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.Evaluation.IEvaluator> evaluators, Microsoft.Extensions.AI.Evaluation.ChatConfiguration? chatConfiguration = null, bool enableResponseCaching = true, System.TimeSpan? timeToLiveForCacheEntries = null, System.Collections.Generic.IEnumerable<string>? cachingKeys = null, string executionName = \"Default\", System.Func<Microsoft.Extensions.AI.Evaluation.EvaluationMetric, Microsoft.Extensions.AI.Evaluation.EvaluationMetricInterpretation?>? evaluationMetricInterpreter = null, System.Collections.Generic.IEnumerable<string>? tags = null);",
10+
"Stage": "Stable"
11+
}
12+
]
13+
},
14+
{
15+
// After generating the baseline, manually edit this file to have 'params' instead of 'scoped'
16+
// This is needed until ICSharpCode.Decompiler adds params collection support
17+
// See: https://github.com/icsharpcode/ILSpy/issues/829
18+
"Type": "sealed class Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCacheProvider : Microsoft.Extensions.AI.Evaluation.Reporting.IEvaluationResponseCacheProvider",
19+
"Stage": "Stable",
20+
"Methods": [
21+
{
22+
"Member": "Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCacheProvider.AzureStorageResponseCacheProvider(Azure.Storage.Files.DataLake.DataLakeDirectoryClient client, System.TimeSpan? timeToLiveForCacheEntries = null);",
23+
"Stage": "Stable"
24+
},
25+
{
26+
"Member": "System.Threading.Tasks.ValueTask Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCacheProvider.DeleteExpiredCacheEntriesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
27+
"Stage": "Stable"
28+
},
29+
{
30+
"Member": "System.Threading.Tasks.ValueTask<Microsoft.Extensions.Caching.Distributed.IDistributedCache> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCacheProvider.GetCacheAsync(string scenarioName, string iterationName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
31+
"Stage": "Stable"
32+
},
33+
{
34+
"Member": "System.Threading.Tasks.ValueTask Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCacheProvider.ResetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
35+
"Stage": "Stable"
36+
}
37+
]
38+
},
39+
{
40+
// After generating the baseline, manually edit this file to have 'params' instead of 'scoped'
41+
// This is needed until ICSharpCode.Decompiler adds params collection support
42+
// See: https://github.com/icsharpcode/ILSpy/issues/829
43+
"Type": "sealed class Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore : Microsoft.Extensions.AI.Evaluation.Reporting.IEvaluationResultStore",
44+
"Stage": "Stable",
45+
"Methods": [
46+
{
47+
"Member": "Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore.AzureStorageResultStore(Azure.Storage.Files.DataLake.DataLakeDirectoryClient client);",
48+
"Stage": "Stable"
49+
},
50+
{
51+
"Member": "System.Threading.Tasks.ValueTask Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore.DeleteResultsAsync(string? executionName = null, string? scenarioName = null, string? iterationName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
52+
"Stage": "Stable"
53+
},
54+
{
55+
"Member": "System.Collections.Generic.IAsyncEnumerable<string> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore.GetIterationNamesAsync(string executionName, string scenarioName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
56+
"Stage": "Stable"
57+
},
58+
{
59+
"Member": "System.Collections.Generic.IAsyncEnumerable<string> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore.GetLatestExecutionNamesAsync(int? count = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
60+
"Stage": "Stable"
61+
},
62+
{
63+
"Member": "System.Collections.Generic.IAsyncEnumerable<string> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore.GetScenarioNamesAsync(string executionName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
64+
"Stage": "Stable"
65+
},
66+
{
67+
"Member": "System.Collections.Generic.IAsyncEnumerable<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult> Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore.ReadResultsAsync(string? executionName = null, string? scenarioName = null, string? iterationName = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
68+
"Stage": "Stable"
69+
},
70+
{
71+
"Member": "System.Threading.Tasks.ValueTask Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResultStore.WriteResultsAsync(System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.Evaluation.Reporting.ScenarioRunResult> results, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));",
72+
"Stage": "Stable"
73+
}
74+
]
75+
}
76+
]
77+
}

src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/Microsoft.Extensions.AI.Evaluation.Reporting.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
<PropertyGroup>
1919
<Workstream>AIEval</Workstream>
20-
<Stage>preview</Stage>
20+
<Stage>normal</Stage>
2121
<ForceLatestDotnetVersions>true</ForceLatestDotnetVersions>
2222
<EnablePackageValidation>false</EnablePackageValidation>
23-
<MinCodeCoverage>66</MinCodeCoverage>
24-
<MinMutationScore>0</MinMutationScore>
23+
<MinCodeCoverage>n/a</MinCodeCoverage>
24+
<MinMutationScore>n/a</MinMutationScore>
2525
</PropertyGroup>
2626

2727
<ItemGroup>

0 commit comments

Comments
 (0)