Microsoft.KernelMemory.AI.Ollama 0.92.241112.1

Prefix Reserved
This package has a SemVer 2.0.0 package version: 0.92.241112.1+a973c41.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.KernelMemory.AI.Ollama --version 0.92.241112.1                
NuGet\Install-Package Microsoft.KernelMemory.AI.Ollama -Version 0.92.241112.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="Microsoft.KernelMemory.AI.Ollama" Version="0.92.241112.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.KernelMemory.AI.Ollama --version 0.92.241112.1                
#r "nuget: Microsoft.KernelMemory.AI.Ollama, 0.92.241112.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 Microsoft.KernelMemory.AI.Ollama as a Cake Addin
#addin nuget:?package=Microsoft.KernelMemory.AI.Ollama&version=0.92.241112.1

// Install Microsoft.KernelMemory.AI.Ollama as a Cake Tool
#tool nuget:?package=Microsoft.KernelMemory.AI.Ollama&version=0.92.241112.1                

Kernel Memory with Ollama

Nuget package Discord

This project contains the Ollama LLM connector to access to LLM models via Ollama service to generate text and text embeddings.

Sample code:

var config = new OllamaConfig
{
    Endpoint = "http://localhost:11434",
    TextModel = new OllamaModelConfig("phi3:medium-128k", 131072),
    EmbeddingModel = new OllamaModelConfig("nomic-embed-text", 2048)
};

var memory = new KernelMemoryBuilder()
    .WithOllamaTextGeneration(config)
    .WithOllamaTextEmbeddingGeneration(config)
    .Build();

await memory.ImportTextAsync("Today is October 32nd, 2476");

var answer = await memory.AskAsync("What's the current date (don't check for validity)?");
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 (1)

Showing the top 1 NuGet packages that depend on Microsoft.KernelMemory.AI.Ollama:

Package Downloads
Microsoft.KernelMemory

The package contains all the core logic and extensions of Kernel Memory, to index and query any data and documents, using LLM and natural language, tracking sources and showing citations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.93.241118.1 285 11/19/2024
0.92.241112.1 534 11/12/2024
0.91.241101.1 870 11/1/2024
0.91.241031.1 127 10/31/2024
0.90.241021.1 1,630 10/22/2024
0.90.241020.3 93 10/20/2024
0.80.241017.2 2,450 10/17/2024
0.79.241014.2 1,632 10/14/2024
0.79.241014.1 170 10/14/2024
0.78.241007.1 3,317 10/8/2024
0.78.241005.1 465 10/6/2024
0.77.241004.1 280 10/5/2024
0.76.240930.3 4,774 9/30/2024
0.75.240924.1 6,103 9/24/2024
0.74.240919.1 3,038 9/19/2024
0.73.240906.1 23,000 9/7/2024
0.72.240904.1 2,712 9/5/2024