CommunityToolkit.Aspire.Hosting.Ollama 9.1.1-beta.196

Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.Ollama.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CommunityToolkit.Aspire.Hosting.Ollama --version 9.1.1-beta.196                
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Ollama -Version 9.1.1-beta.196                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Ollama" Version="9.1.1-beta.196" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommunityToolkit.Aspire.Hosting.Ollama --version 9.1.1-beta.196                
#r "nuget: CommunityToolkit.Aspire.Hosting.Ollama, 9.1.1-beta.196"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CommunityToolkit.Aspire.Hosting.Ollama as a Cake Addin
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.Ollama&version=9.1.1-beta.196&prerelease

// Install CommunityToolkit.Aspire.Hosting.Ollama as a Cake Tool
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Ollama&version=9.1.1-beta.196&prerelease                

CommunityToolkit.Aspire.Hosting.Ollama library

Provides extension methods and resource definitions for the .NET Aspire AppHost to support running Ollama containers with support for downloading a model on startup.

It also provides support for running Open WebUI to interact with the Ollama container.

Getting Started

Install the package

In your AppHost project, install the package using the following command:

dotnet add package CommunityToolkit.Aspire.Hosting.Ollama

Example usage

Then, in the Program.cs file of AppHost, define an Ollama resource, then call AddOllama:

var ollama = builder.AddOllama("ollama")
    .WithModel("phi3")
    .WithOpenWebUI();

Additional Information

https://learn.microsoft.com/dotnet/aspire/community-toolkit/ollama

Feedback & contributing

https://github.com/CommunityToolkit/Aspire

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CommunityToolkit.Aspire.Hosting.Ollama:

Package Downloads
CrestApps.Aspire.AppHost

Package Description

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on CommunityToolkit.Aspire.Hosting.Ollama:

Repository Stars
dotnet/eShop
A reference .NET application implementing an eCommerce site
thangchung/practical-dotnet-aspire
The practical .NET Aspire builds on the coffeeshop app business domain
davidfowl/aspire-ai-chat-demo
Aspire AI Chat is a full-stack chat sample that combines modern technologies to deliver a ChatGPT-like experience.
Version Downloads Last updated
9.2.2-beta.228 2 3/11/2025
9.2.2-beta.227 21 3/11/2025
9.2.2-beta.226 27 3/11/2025
9.2.2-beta.225 29 3/11/2025
9.2.2-beta.224 32 3/11/2025
9.2.2-beta.223 45 3/10/2025
9.2.2-beta.222 45 3/10/2025
9.2.2-beta.220 42 3/9/2025
9.2.2-beta.218 43 3/9/2025
9.2.2-beta.217 172 3/7/2025
9.2.2-beta.216 152 3/7/2025
9.2.2-beta.215 160 3/7/2025
9.2.2-beta.214 162 3/5/2025
9.2.2-beta.213 143 3/5/2025
9.2.2-beta.212 151 3/5/2025
9.2.2-beta.211 159 3/4/2025
9.2.2-beta.210 160 3/4/2025
9.2.2-beta.208 58 3/3/2025
9.2.1 821 3/3/2025
9.2.1-beta.207 125 3/2/2025
9.2.1-beta.206 60 3/1/2025
9.2.1-beta.205 91 2/27/2025
9.2.1-beta.204 54 2/26/2025
9.2.1-beta.203 52 2/26/2025
9.2.0 1,791 2/26/2025
9.2.0-beta.202 40 2/26/2025
9.2.0-beta.201 44 2/26/2025
9.2.0-beta.199 47 2/26/2025
9.2.0-beta.198 41 2/26/2025
9.1.1-beta.197 73 2/25/2025
9.1.1-beta.196 53 2/25/2025
9.1.1-beta.195 53 2/25/2025
9.1.1-beta.194 50 2/25/2025
9.1.1-beta.193 60 2/25/2025
9.1.1-beta.192 61 2/24/2025
9.1.1-beta.191 66 2/24/2025
9.1.1-beta.190 151 2/19/2025
9.1.1-beta.189 66 2/19/2025
9.1.1-beta.188 65 2/19/2025
9.1.1-beta.187 79 2/19/2025
9.1.1-beta.183 97 2/18/2025
9.1.1-beta.182 71 2/18/2025
9.1.1-beta.181 77 2/18/2025
9.1.1-beta.180 74 2/17/2025
9.1.1-beta.178 90 2/17/2025
9.1.1-beta.177 193 2/12/2025
9.1.1-beta.176 135 2/11/2025
9.1.1-beta.175 80 2/11/2025
9.1.1-beta.173 139 2/10/2025
9.1.1-beta.169 432 2/6/2025
9.1.1-beta.168 74 2/5/2025
9.1.1-beta.166 90 2/5/2025
9.1.1-beta.165 71 2/5/2025
9.1.1-beta.164 92 2/3/2025
9.1.1-beta.162 75 2/3/2025
9.1.1-beta.155 165 1/30/2025
9.1.1-beta.154 81 1/30/2025
9.1.1-beta.153 82 1/30/2025
9.1.1-beta.152 68 1/29/2025
9.1.1-beta.150 94 1/29/2025
9.1.1-beta.148 225 1/26/2025
9.1.1-beta.147 74 1/26/2025
9.1.1-beta.146 145 1/23/2025
9.1.1-beta.145 81 1/22/2025
9.1.1-beta.144 67 1/22/2025
9.1.1-beta.142 73 1/22/2025
9.1.1-beta.140 74 1/22/2025
9.1.1-beta.139 89 1/21/2025
9.1.1-beta.138 71 1/20/2025
9.1.1-beta.137 98 1/17/2025
9.1.1-beta.136 66 1/15/2025
9.1.1-beta.135 54 1/15/2025
9.1.1-beta.134 46 1/15/2025
9.1.1-beta.128 283 1/9/2025
9.1.1-beta.127 30 1/9/2025
9.1.1-beta.126 35 1/9/2025
9.1.1-beta.125 36 1/9/2025
9.1.1-beta.124 36 1/9/2025
9.1.0 9,832 12/12/2024
9.1.0-beta.123 53 1/3/2025
9.1.0-beta.122 56 1/3/2025
9.1.0-beta.121 54 1/2/2025
9.1.0-beta.120 47 12/30/2024
9.1.0-beta.119 48 12/30/2024
9.1.0-beta.118 49 12/30/2024
9.1.0-beta.116 51 12/30/2024
9.1.0-beta.114 46 12/30/2024
9.1.0-beta.113 48 12/30/2024
9.1.0-beta.112 51 12/18/2024
9.1.0-beta.110 54 12/16/2024
9.1.0-beta.109 49 12/12/2024
9.0.1-beta.108 49 12/12/2024
9.0.1-beta.107 50 12/11/2024
9.0.1-beta.106 53 12/12/2024
9.0.1-beta.104 50 12/11/2024
9.0.1-beta.102 128 12/6/2024
9.0.1-beta.99 50 12/6/2024
9.0.1-beta.98 51 12/6/2024
9.0.1-beta.95 48 12/5/2024
9.0.1-beta.94 53 12/5/2024
9.0.1-beta.93 84 12/2/2024
9.0.1-beta.92 81 11/30/2024
9.0.1-beta.91 51 11/30/2024
9.0.1-beta.90 55 11/29/2024
9.0.1-beta.89 50 11/29/2024
9.0.1-beta.88 53 11/27/2024
9.0.1-beta.87 50 11/27/2024
9.0.1-beta.86 65 11/27/2024
9.0.1-beta.84 81 11/24/2024
9.0.1-beta.83 73 11/22/2024
9.0.1-beta.82 54 11/21/2024
9.0.1-beta.81 69 11/19/2024
9.0.1-beta.80 46 11/19/2024
9.0.1-beta.79 47 11/19/2024
9.0.1-beta.77 113 11/15/2024
9.0.0 440 11/15/2024
9.0.0-beta.76 56 11/14/2024
9.0.0-beta.75 51 11/14/2024
9.0.0-beta.74 47 11/14/2024
9.0.0-beta.73 60 11/14/2024
9.0.0-beta.72 54 11/14/2024
9.0.0-beta.71 66 11/13/2024
9.0.0-beta.70 63 11/13/2024
9.0.0-beta.69 50 11/13/2024
9.0.0-beta.68 52 11/13/2024
9.0.0-beta.67 54 11/13/2024
9.0.0-beta.66 308 11/13/2024
9.0.0-beta.63 64 11/12/2024
9.0.0-beta.54 63 10/31/2024
9.0.0-beta.53 53 10/29/2024
8.3.0 309 10/29/2024
8.3.0-beta.51 53 10/29/2024
8.3.0-beta.50 52 10/28/2024
8.3.0-beta.49 56 10/28/2024
8.3.0-beta.48 50 10/28/2024
8.3.0-beta.47 53 10/28/2024
8.3.0-beta.46 53 10/27/2024
8.3.0-beta.45 181 10/25/2024
8.3.0-beta.44 55 10/25/2024
8.3.0-beta.43 54 10/25/2024
8.3.0-beta.42 64 10/24/2024
8.2.1 192 10/23/2024
8.2.1-beta.40 45 10/23/2024
8.2.1-beta.39 52 10/23/2024
8.2.1-beta.38 53 10/23/2024
8.2.1-beta.37 54 10/23/2024
8.2.1-beta.36 50 10/23/2024
8.2.1-beta.35 55 10/23/2024
8.2.0-beta.34 62 10/23/2024
8.2.0-beta.33 55 10/23/2024
8.2.0-beta.32 59 10/22/2024
1.0.0-beta.60 61 11/11/2024
1.0.0-beta.58 52 11/4/2024
1.0.0-beta.57 53 11/1/2024
1.0.0-beta.56 51 11/1/2024
1.0.0-beta.55 57 11/1/2024