SemanticKernel.Agents.Memory.Abstractions
0.0.1-beta12
This is a prerelease version of SemanticKernel.Agents.Memory.Abstractions.
dotnet add package SemanticKernel.Agents.Memory.Abstractions --version 0.0.1-beta12
NuGet\Install-Package SemanticKernel.Agents.Memory.Abstractions -Version 0.0.1-beta12
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="SemanticKernel.Agents.Memory.Abstractions" Version="0.0.1-beta12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SemanticKernel.Agents.Memory.Abstractions" Version="0.0.1-beta12" />
<PackageReference Include="SemanticKernel.Agents.Memory.Abstractions" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SemanticKernel.Agents.Memory.Abstractions --version 0.0.1-beta12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SemanticKernel.Agents.Memory.Abstractions, 0.0.1-beta12"
#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.
#:package SemanticKernel.Agents.Memory.Abstractions@0.0.1-beta12
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SemanticKernel.Agents.Memory.Abstractions&version=0.0.1-beta12&prerelease
#tool nuget:?package=SemanticKernel.Agents.Memory.Abstractions&version=0.0.1-beta12&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SemanticKernel.Agents.Memory.Abstractions
Overview
This package provides the core abstractions and interfaces for the SemanticKernel Agents Memory system. It defines the fundamental contracts that enable memory ingestion, search, and retrieval functionality across the entire memory pipeline.
Key Components
Core Models
Document
: Represents a document in the memory system with metadata and contentChunk
: Represents a processed text chunk with embeddings and metadataSearchResult
: Contains search results with relevance scores and source referencesAnswer
: Structured response containing AI-generated answers with citationsSourceReference
: Tracks the origin and location of content within documents
Core Interfaces
ISearchClient
: Defines search operations for querying the memory systemIPromptProvider
: Provides prompts for various memory operations
Installation
dotnet add package SemanticKernel.Agents.Memory.Abstractions
Basic Usage
using SemanticKernel.Agents.Memory;
// Use the abstractions to implement custom memory components
public class CustomSearchClient : ISearchClient
{
public async Task<SearchResult[]> SearchAsync(
string index,
string query,
CancellationToken cancellationToken = default)
{
// Your custom search implementation
}
// ... other interface members
}
Dependencies
- Microsoft.SemanticKernel.Abstractions
Related Packages
- SemanticKernel.Agents.Memory.Core - Core implementation and orchestration
- SemanticKernel.Agents.Memory.Plugin - Semantic Kernel plugin integration
- SemanticKernel.Agents.Memory.Service - Web service implementation
- SemanticKernel.Agents.Memory.MCP - Model Context Protocol integration
Documentation
For complete documentation and examples, visit the main repository.
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Microsoft.SemanticKernel.Abstractions (>= 1.64.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SemanticKernel.Agents.Memory.Abstractions:
Package | Downloads |
---|---|
SemanticKernel.Agents.Memory.Core
Core logic for SemanticKernel Agents Memory. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.0.1-beta12 | 117 | 9/8/2025 |