- Notifications
You must be signed in to change notification settings - Fork845
Commite393f33
[AI Evaluation] Add versioning to reporting and caching (#6070)
* [AI Evaluation] Add versioning to reporting and caching* Move CacheVersion key down into the DistributedCachingChatClient* Update src/Libraries/Microsoft.Extensions.AI/ChatCompletion/DistributedCachingChatClient.cs* Update src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/ScenarioRunResult.csCo-authored-by: Igor Velikorossov <RussKie@users.noreply.github.com>* Update src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/Defaults.csCo-authored-by: Igor Velikorossov <RussKie@users.noreply.github.com>* Rollback formatVersion init change* Make version const internal, update comments.* Add assertion for report version* Make ReportVersion property readonly---------Co-authored-by: Stephen Toub <stoub@microsoft.com>Co-authored-by: Igor Velikorossov <RussKie@users.noreply.github.com>1 parente351c25 commite393f33
File tree
4 files changed
+23
-3
lines changed- src/Libraries
- Microsoft.Extensions.AI.Evaluation.Reporting/CSharp
- Microsoft.Extensions.AI/ChatCompletion
- test/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting.Tests
4 files changed
+23
-3
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
112 | 117 | | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
0 commit comments
Comments
(0)