Llamas.Container 0.1.1

dotnet add package Llamas.Container --version 0.1.1                
NuGet\Install-Package Llamas.Container -Version 0.1.1                
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="Llamas.Container" Version="0.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Llamas.Container --version 0.1.1                
#r "nuget: Llamas.Container, 0.1.1"                
#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 Llamas.Container as a Cake Addin
#addin nuget:?package=Llamas.Container&version=0.1.1

// Install Llamas.Container as a Cake Tool
#tool nuget:?package=Llamas.Container&version=0.1.1                

Llamas.Container


Llamas.Container NuGet Version

Llamas.Container is a library providing Ollama self-hosting capabilities to .NET applications. This package provides the logic needed to automatically hook into a local docker service, pull the ollama container, configure the necessary devices, and run it transitively.

Support for persistence and further configuration is planned.

Container Dependency Injection

Like Llamas, Llamas.Container extends IServiceCollection with methods for easy injection. These allow for hosting with or without a client, and can be injected using the same configuration as the client for simplicity.

/// Add a container based on the client configuration
var clientConfig = new OllamaClientConfiguration();
services.AddOllamaClient(clientConfig);
services.AddOllamaContainerService();
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.1 131 7/2/2024
0.1.0 112 7/1/2024

Minor changes to enable testing