Microsoft.KernelMemory.AI.Ollama
0.98.250324.1
Prefix Reserved
dotnet add package Microsoft.KernelMemory.AI.Ollama --version 0.98.250324.1
NuGet\Install-Package Microsoft.KernelMemory.AI.Ollama -Version 0.98.250324.1
<PackageReference Include="Microsoft.KernelMemory.AI.Ollama" Version="0.98.250324.1" />
<PackageVersion Include="Microsoft.KernelMemory.AI.Ollama" Version="0.98.250324.1" />
<PackageReference Include="Microsoft.KernelMemory.AI.Ollama" />
paket add Microsoft.KernelMemory.AI.Ollama --version 0.98.250324.1
#r "nuget: Microsoft.KernelMemory.AI.Ollama, 0.98.250324.1"
#addin nuget:?package=Microsoft.KernelMemory.AI.Ollama&version=0.98.250324.1
#tool nuget:?package=Microsoft.KernelMemory.AI.Ollama&version=0.98.250324.1
Kernel Memory with Ollama
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 | Versions 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 was computed. 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. |
-
net8.0
- Microsoft.KernelMemory.Abstractions (>= 0.98.250324.1)
- Microsoft.KernelMemory.AI.Tiktoken (>= 0.98.250324.1)
- OllamaSharp (>= 5.1.7)
NuGet packages (3)
Showing the top 3 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. |
|
Ben.SemanticKernel
A simple Semantic Kernel library for .NET applications |
|
Serina.Semantic.Ai.Pipelines
Serina Pipelines for Semantic Kernel allows to build flexible Ai Proccessing pipelines. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.KernelMemory.AI.Ollama:
Repository | Stars |
---|---|
microsoft/Generative-AI-for-beginners-dotnet
Five lessons, learn how to really apply AI to your .NET Applications
|
Version | Downloads | Last updated |
---|---|---|
0.98.250324.1 | 1,534 | 3/24/2025 |
0.98.250323.1 | 305 | 3/24/2025 |
0.97.250211.1 | 7,165 | 2/11/2025 |
0.96.250120.1 | 5,800 | 1/20/2025 |
0.96.250116.1 | 2,188 | 1/16/2025 |
0.96.250115.1 | 420 | 1/15/2025 |
0.95.241216.2 | 5,371 | 12/17/2024 |
0.95.241216.1 | 162 | 12/16/2024 |
0.94.241201.1 | 4,823 | 12/1/2024 |
0.93.241118.1 | 4,619 | 11/19/2024 |
0.92.241112.1 | 2,576 | 11/12/2024 |
0.91.241101.1 | 1,176 | 11/1/2024 |
0.91.241031.1 | 160 | 10/31/2024 |
0.90.241021.1 | 4,288 | 10/22/2024 |
0.90.241020.3 | 440 | 10/20/2024 |
0.80.241017.2 | 2,870 | 10/17/2024 |
0.79.241014.2 | 3,189 | 10/14/2024 |
0.79.241014.1 | 218 | 10/14/2024 |
0.78.241007.1 | 4,392 | 10/8/2024 |
0.78.241005.1 | 673 | 10/6/2024 |
0.77.241004.1 | 392 | 10/5/2024 |
0.76.240930.3 | 7,585 | 9/30/2024 |
0.75.240924.1 | 17,436 | 9/24/2024 |
0.74.240919.1 | 4,264 | 9/19/2024 |
0.73.240906.1 | 24,812 | 9/7/2024 |
0.72.240904.1 | 3,563 | 9/5/2024 |