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
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.5.0" />
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.7.1" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="OllamaSharp" Version="5.2.10" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.Extensions.AI;
using Microsoft.Extensions.AI;
using OllamaSharp;

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

// <Snippet1>
List<ChatMessage> history = [];
Expand Down
Loading