Skip to main content
Microsoft.Extensions.AI.Ollama package icon

Microsoft.Extensions.AI.Ollama

Implementation of generative AI abstractions for Ollama.

Total Downloads
475.8K
475,844
Published
Apr 8, 2025
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Extensions.AI.Ollama --version 9.4.0-preview.1.25207.5
Package Manager Console
Install-Package Microsoft.Extensions.AI.Ollama -Version 9.4.0-preview.1.25207.5
PackageReference
<PackageReference Include="Microsoft.Extensions.AI.Ollama" Version="9.4.0-preview.1.25207.5" />

Frameworks

.NETFramework4.6.2 net8.0 net9.0 .NETStandard2.0

Dependencies

[9.4.0-preview.1.25207.5, )
System.Net.Http.Json
.NETFramework4.6.2
[8.0.1, )
System.Text.Json
.NETFramework4.6.2
[8.0.5, )
[9.4.0-preview.1.25207.5, )
[8.0.1, )
[8.0.5, )
[9.4.0-preview.1.25207.5, )
[9.0.4, )
[9.0.4, )
[9.4.0-preview.1.25207.5, )
System.Net.Http.Json
.NETStandard2.0
[8.0.1, )
System.Text.Json
.NETStandard2.0
[8.0.5, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.

NuGet marks this package as deprecated and points to OllamaSharp as an alternative.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.