Skip to content

Commit 52ff976

Browse files
Bump the dotnet group in /docs/ai/how-to/snippets/content-filtering with 2 updates (#45236)
* Bump the dotnet group Bumps the dotnet group in /docs/ai/how-to/snippets/content-filtering with 2 updates: [Microsoft.Extensions.AI](https://github.com/dotnet/extensions) and [Microsoft.Extensions.AI.OpenAI](https://github.com/dotnet/extensions). Updates `Microsoft.Extensions.AI` from 9.3.0-preview.1.25114.11 to 9.3.0-preview.1.25161.3 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) Updates `Microsoft.Extensions.AI.OpenAI` from 9.3.0-preview.1.25114.11 to 9.3.0-preview.1.25161.3 - [Release notes](https://github.com/dotnet/extensions/releases) - [Commits](https://github.com/dotnet/extensions/commits) --- updated-dependencies: - dependency-name: Microsoft.Extensions.AI dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet - dependency-name: Microsoft.Extensions.AI.OpenAI dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> * fix build error --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Genevieve Warren <[email protected]>
1 parent 1c650e1 commit 52ff976

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/ai/how-to/snippets/content-filtering/AIContentFiltering.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="Azure.AI.OpenAI" />
12-
<PackageReference Include="Azure.Identity" />
13-
<PackageReference Include="Microsoft.Extensions.AI" Version="9.3.0-preview.1.25114.11" />
14-
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="9.3.0-preview.1.25114.11" />
12+
<PackageReference Include="Azure.Identity" Version="1.13.2" />
13+
<PackageReference Include="Microsoft.Extensions.AI" Version="9.3.0-preview.1.25161.3" />
14+
<PackageReference Include="Microsoft.Extensions.AI.OpenAI" Version="9.3.0-preview.1.25161.3" />
1515
</ItemGroup>
1616

1717
</Project>

docs/ai/how-to/snippets/content-filtering/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{
1212
ChatResponse completion = await client.GetResponseAsync("YOUR_PROMPT");
1313

14-
Console.WriteLine(completion.Message);
14+
Console.WriteLine(completion.Messages.Single());
1515
}
1616
catch (Exception e)
1717
{

0 commit comments

Comments
 (0)