![]() |
VOOZH | about |
dotnet add package Microsoft.KernelMemory.AI.Ollama --version 0.98.250508.3
NuGet\Install-Package Microsoft.KernelMemory.AI.Ollama -Version 0.98.250508.3
<PackageReference Include="Microsoft.KernelMemory.AI.Ollama" Version="0.98.250508.3" />
<PackageVersion Include="Microsoft.KernelMemory.AI.Ollama" Version="0.98.250508.3" />Directory.Packages.props
<PackageReference Include="Microsoft.KernelMemory.AI.Ollama" />Project file
paket add Microsoft.KernelMemory.AI.Ollama --version 0.98.250508.3
#r "nuget: Microsoft.KernelMemory.AI.Ollama, 0.98.250508.3"
#:package Microsoft.KernelMemory.AI.Ollama@0.98.250508.3
#addin nuget:?package=Microsoft.KernelMemory.AI.Ollama&version=0.98.250508.3Install as a Cake Addin
#tool nuget:?package=Microsoft.KernelMemory.AI.Ollama&version=0.98.250508.3Install as a Cake Tool
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 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
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. |
This package is not used by any popular GitHub repositories.