Skip to content

Commit 21f1f12

Browse files
Bump the dotnet group with 1 update (#47426)
* Bump the dotnet group with 1 update Bumps Microsoft.Extensions.AI.Abstractions from 9.5.0 to 9.7.1 --- updated-dependencies: - dependency-name: Microsoft.Extensions.AI.Abstractions dependency-version: 9.7.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dotnet ... Signed-off-by: dependabot[bot] <[email protected]> * fix build warnings --------- 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 75fcd67 commit 21f1f12

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

docs/ai/snippets/microsoft-extensions-ai/ConsoleAI.StatelessStateful/ConsoleAI.StatelessStateful.csproj

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

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.5.0" />
11+
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.7.1" />
12+
</ItemGroup>
13+
14+
<ItemGroup>
15+
<PackageReference Include="OllamaSharp" Version="5.2.10" />
1216
</ItemGroup>
1317

1418
<ItemGroup>

docs/ai/snippets/microsoft-extensions-ai/ConsoleAI.StatelessStateful/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using Microsoft.Extensions.AI;
1+
using Microsoft.Extensions.AI;
2+
using OllamaSharp;
23

3-
IChatClient client = new SampleChatClient(
4-
new Uri("http://coolsite.ai"), "target-ai-model");
4+
IChatClient client = new OllamaApiClient(new Uri("http://localhost:11434"), "llama3.1");
55

66
// <Snippet1>
77
List<ChatMessage> history = [];

0 commit comments

Comments
 (0)