![]() |
VOOZH | about |
dotnet add package Encamina.Enmarcha.SemanticKernel.Plugins.Memory --version 10.0.5
NuGet\Install-Package Encamina.Enmarcha.SemanticKernel.Plugins.Memory -Version 10.0.5
<PackageReference Include="Encamina.Enmarcha.SemanticKernel.Plugins.Memory" Version="10.0.5" />
<PackageVersion Include="Encamina.Enmarcha.SemanticKernel.Plugins.Memory" Version="10.0.5" />Directory.Packages.props
<PackageReference Include="Encamina.Enmarcha.SemanticKernel.Plugins.Memory" />Project file
paket add Encamina.Enmarcha.SemanticKernel.Plugins.Memory --version 10.0.5
#r "nuget: Encamina.Enmarcha.SemanticKernel.Plugins.Memory, 10.0.5"
#:package Encamina.Enmarcha.SemanticKernel.Plugins.Memory@10.0.5
#addin nuget:?package=Encamina.Enmarcha.SemanticKernel.Plugins.Memory&version=10.0.5Install as a Cake Addin
#tool nuget:?package=Encamina.Enmarcha.SemanticKernel.Plugins.Memory&version=10.0.5Install as a Cake Tool
Memory Plugin is a project that offers functionality as a plugin for searching the memory of the Semantic Kernel. When text is stored in memory within the Semantic Kernel, it is saved in the form of embeddings that can be queried through the Memory Plugin.
First, install NuGet. Then, install Encamina.Enmarcha.SemanticKernel.Plugins.Memory from the package manager console:
PM> Install-Package Encamina.Enmarcha.SemanticKernel.Plugins.Memory
First, install .NET CLI. Then, install Encamina.Enmarcha.SemanticKernel.Plugins.Memory from the .NET CLI:
dotnet add package Encamina.Enmarcha.SemanticKernel.Plugins.Memory
To use , the usual approach is to import it as a plugin within Semantic Kernel. The simplest way to do this is by using the extension method , which handles the import of the Plugin into Semantic Kernel.
// Entry point
var builder = WebApplication.CreateBuilder(new WebApplicationOptions
{
// ...
});
// ...
builder.Services.AddScoped(sp =>
{
var kernel = new KernelBuilder()
.WithAzureTextEmbeddingGenerationService("<YOUR DEPLOYMENT NAME>", "<YOUR AZURE ENDPOINT>", "<YOUR API KEY>")
//.WithOpenAITextEmbeddingGenerationService("<YOUR MODEL ID>", "<YOUR API KEY>")
/// ...
.Build();
// ...
kernel.ImportMemoryPlugin(ILengthFunctions.LengthByTokenCount);
return kernel;
});
Now you can inject the kernel via constructor, and the memory capabilities are already available.
public class MyClass
{
private readonly Kernel kernel;
public MyClass(Kernel kernel)
{
this.kernel = kernel;
}
public async Task TestMemoryQueryAsync()
{
var contextVariables = new ContextVariables();
contextVariables.Set(PluginsInfo.MemoryQueryPlugin.Functions.QueryMemory.Parameters.Query, "What is the weather like in Madrid?");
contextVariables.Set(PluginsInfo.MemoryQueryPlugin.Functions.QueryMemory.Parameters.CollectionsStr, "collection-1:collection-2");
contextVariables.Set(PluginsInfo.MemoryQueryPlugin.Functions.QueryMemory.Parameters.CollectionSeparator, ":");
contextVariables.Set(PluginsInfo.MemoryQueryPlugin.Functions.QueryMemory.Parameters.MinRelevance, "0.8");
contextVariables.Set(PluginsInfo.MemoryQueryPlugin.Functions.QueryMemory.Parameters.ResponseTokenLimit, "1500");
contextVariables.Set(PluginsInfo.MemoryQueryPlugin.Functions.QueryMemory.Parameters.ResultsLimit, "2");
var functionMemoryQuery = kernel.Func(PluginsInfo.MemoryQueryPlugin.Name, PluginsInfo.MemoryQueryPlugin.Functions.QueryMemory.Name);
var resultContext = await kernel.RunAsync(contextVariables, functionMemoryQuery);
}
}
Within resultContext, you will find texts that meet the conditions.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. 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 1 NuGet packages that depend on Encamina.Enmarcha.SemanticKernel.Plugins.Memory:
| Package | Downloads |
|---|---|
|
Encamina.Enmarcha.SemanticKernel.Plugins.QuestionAnswering
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.5 | 136 | 6/1/2026 |
| 10.0.4 | 137 | 4/8/2026 |
| 10.0.3 | 249 | 4/6/2026 |
| 10.0.2 | 496 | 12/17/2025 |
| 10.0.1 | 326 | 12/17/2025 |
| 10.0.0 | 317 | 12/16/2025 |
| 10.0.0-preview-09 | 451 | 11/19/2025 |
| 10.0.0-preview-08 | 431 | 11/18/2025 |
| 10.0.0-preview-07 | 223 | 10/22/2025 |
| 10.0.0-preview-06 | 350 | 10/14/2025 |
| 10.0.0-preview-05 | 226 | 10/8/2025 |
| 10.0.0-preview-04 | 229 | 10/7/2025 |
| 10.0.0-preview-03 | 356 | 9/16/2025 |
| 10.0.0-preview-02 | 351 | 9/16/2025 |
| 8.3.0 | 337 | 9/10/2025 |
| 8.3.0-preview-02 | 227 | 9/10/2025 |
| 8.3.0-preview-01 | 223 | 9/8/2025 |
| 8.2.1-preview-08 | 229 | 8/18/2025 |
| 8.2.1-preview-07 | 238 | 8/12/2025 |