Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/ai/quickstarts/snippets/evaluate-ai-responses/MyTests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Microsoft.Extensions.AI;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.AI.Evaluation;
using Microsoft.Extensions.AI.Evaluation.Quality;

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

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

Expand Down
10 changes: 5 additions & 5 deletions docs/ai/quickstarts/snippets/evaluate-ai-responses/TestAI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation" Version="9.3.0-preview.1.25126.9" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Quality" Version="9.3.0-preview.1.25126.9" />
<PackageReference Include="Microsoft.Extensions.AI.Ollama" Version="9.3.0-preview.1.25114.11" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.3.0-preview.1.25161.3" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation" Version="9.3.0-preview.1.25164.6" />
<PackageReference Include="Microsoft.Extensions.AI.Evaluation.Quality" Version="9.3.0-preview.1.25164.6" />
<PackageReference Include="Microsoft.Extensions.AI.Ollama" Version="9.3.0-preview.1.25161.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.0-preview-25107-01" />
<PackageReference Include="MSTest" Version="3.8.2" />
</ItemGroup>

Expand Down
86 changes: 43 additions & 43 deletions docs/azure/includes/dotnet-all.md

Large diffs are not rendered by default.

86 changes: 43 additions & 43 deletions docs/azure/includes/dotnet-new.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/core/testing/microsoft-testing-platform-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ms.date: 03/17/2024

# Microsoft.Testing.Platform overview

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.
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.

`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.

Expand Down
2 changes: 1 addition & 1 deletion docs/csharp/language-reference/builtin-types/struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ All of a struct's member fields must be *definitely assigned* when created becau
- You can add *field initializers* to any field or auto implemented property.
- You can initialize any fields, or auto properties, in the body of the constructor.

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.
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.

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

Expand Down
2 changes: 1 addition & 1 deletion quest-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"AzureDevOps": {
"Org": "msft-skilling",
"Project": "Content",
"AreaPath": "Production\\Digital and App Innovation\\DotNet and more\\dotnet"
"AreaPath": "Production\\Core AI\\DotNet and more\\dotnet"
},
"ImportTriggerLabel": ":world_map: reQUEST",
"ImportedLabel": ":pushpin: seQUESTered",
Expand Down
Loading