Skip to content

Commit 83b143e

Browse files
Merge pull request #45362 from dotnet/main
Merge main into live
2 parents 8e457ef + 411e261 commit 83b143e

File tree

7 files changed

+97
-97
lines changed

7 files changed

+97
-97
lines changed

docs/ai/quickstarts/snippets/evaluate-ai-responses/MyTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Microsoft.Extensions.AI;
1+
using Microsoft.Extensions.AI;
22
using Microsoft.Extensions.AI.Evaluation;
33
using Microsoft.Extensions.AI.Evaluation.Quality;
44

@@ -20,7 +20,7 @@ Keep your responses concise and try to stay under 100 words.
2020
new ChatMessage(
2121
ChatRole.User,
2222
"How far is the planet Venus from Earth at its closest and furthest points?")];
23-
private static ChatMessage s_response = new();
23+
private static ChatResponse s_response = new();
2424
// </SnippetPrivateMembers>
2525

2626
// <SnippetInitialize>
@@ -42,7 +42,7 @@ public static async Task InitializeAsync(TestContext _)
4242
// Fetch the response to be evaluated
4343
// and store it in a static variable.
4444
ChatResponse response = await s_chatConfiguration.ChatClient.GetResponseAsync(s_messages, chatOptions);
45-
s_response = response.Message;
45+
s_response = response;
4646
}
4747
// </SnippetInitialize>
4848

docs/ai/quickstarts/snippets/evaluate-ai-responses/TestAI.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.3.0-preview.1.25114.11" />
12-
<PackageReference Include="Microsoft.Extensions.AI.Evaluation" Version="9.3.0-preview.1.25126.9" />
13-
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Quality" Version="9.3.0-preview.1.25126.9" />
14-
<PackageReference Include="Microsoft.Extensions.AI.Ollama" Version="9.3.0-preview.1.25114.11" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
11+
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.3.0-preview.1.25161.3" />
12+
<PackageReference Include="Microsoft.Extensions.AI.Evaluation" Version="9.3.0-preview.1.25164.6" />
13+
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Quality" Version="9.3.0-preview.1.25164.6" />
14+
<PackageReference Include="Microsoft.Extensions.AI.Ollama" Version="9.3.0-preview.1.25161.3" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0-preview-25107-01" />
1616
<PackageReference Include="MSTest" Version="3.8.2" />
1717
</ItemGroup>
1818

docs/azure/includes/dotnet-all.md

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

docs/azure/includes/dotnet-new.md

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

docs/core/testing/microsoft-testing-platform-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 03/17/2024
88

99
# Microsoft.Testing.Platform overview
1010

11-
Microsoft.Testing.Platform is a lightweight and portable alternative to [VSTest](https://github.com/microsoft/vstest) for running tests in all contexts, including continuous integration (CI) pipelines, CLI, Visual Studio Test Explorer, and VS Code Text Explorer. The Microsoft.Testing.Platform is embedded directly in your test projects, and there's no other app dependencies, such as `vstest.console` or `dotnet test` needed to run your tests.
11+
Microsoft.Testing.Platform is a lightweight and portable alternative to [VSTest](https://github.com/microsoft/vstest) for running tests in all contexts, including continuous integration (CI) pipelines, CLI, Visual Studio Test Explorer, and VS Code Test Explorer. The Microsoft.Testing.Platform is embedded directly in your test projects, and there's no other app dependencies, such as `vstest.console` or `dotnet test` needed to run your tests.
1212

1313
`Microsoft.Testing.Platform` is open source. You can find `Microsoft.Testing.Platform` code in [microsoft/testfx](https://github.com/microsoft/testfx/tree/main/src/Platform/Microsoft.Testing.Platform) GitHub repository.
1414

docs/csharp/language-reference/builtin-types/struct.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ All of a struct's member fields must be *definitely assigned* when created becau
132132
- You can add *field initializers* to any field or auto implemented property.
133133
- You can initialize any fields, or auto properties, in the body of the constructor.
134134

135-
Beginning with C# 11, if you don't initialize all fields in a struct, the compiler adds code to the constructor that initializes those fields to the default value. A struct assigned to its `default` value is initialized to the 0-bit pattern. A string initialized with `new` is initialized to the 0-bit pattern, followed by executing any field initializers and a constructor.
135+
Beginning with C# 11, if you don't initialize all fields in a struct, the compiler adds code to the constructor that initializes those fields to the default value. A struct assigned to its `default` value is initialized to the 0-bit pattern. A struct initialized with `new` is initialized to the 0-bit pattern, followed by executing any field initializers and a constructor.
136136

137137
:::code language="csharp" source="snippets/shared/StructType.cs" id="FieldInitializer":::
138138

quest-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"AzureDevOps": {
33
"Org": "msft-skilling",
44
"Project": "Content",
5-
"AreaPath": "Production\\Digital and App Innovation\\DotNet and more\\dotnet"
5+
"AreaPath": "Production\\Core AI\\DotNet and more\\dotnet"
66
},
77
"ImportTriggerLabel": ":world_map: reQUEST",
88
"ImportedLabel": ":pushpin: seQUESTered",

0 commit comments

Comments
 (0)