AgencyDotNet.Embeddings.Common 0.1.194-g9adaaec0b7

This is a prerelease version of AgencyDotNet.Embeddings.Common.
dotnet add package AgencyDotNet.Embeddings.Common --version 0.1.194-g9adaaec0b7
                    
NuGet\Install-Package AgencyDotNet.Embeddings.Common -Version 0.1.194-g9adaaec0b7
                    
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="AgencyDotNet.Embeddings.Common" Version="0.1.194-g9adaaec0b7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AgencyDotNet.Embeddings.Common" Version="0.1.194-g9adaaec0b7" />
                    
Directory.Packages.props
<PackageReference Include="AgencyDotNet.Embeddings.Common" />
                    
Project file
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 AgencyDotNet.Embeddings.Common --version 0.1.194-g9adaaec0b7
                    
#r "nuget: AgencyDotNet.Embeddings.Common, 0.1.194-g9adaaec0b7"
                    
#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 AgencyDotNet.Embeddings.Common@0.1.194-g9adaaec0b7
                    
#: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=AgencyDotNet.Embeddings.Common&version=0.1.194-g9adaaec0b7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=AgencyDotNet.Embeddings.Common&version=0.1.194-g9adaaec0b7&prerelease
                    
Install as a Cake Tool

Agency.Embeddings.Common

Abstractions for generating text embeddings — provider-agnostic interfaces used across the Agency AI Toolkit.

Install

dotnet add package AgencyDotNet.Embeddings.Common

Types

  • IEmbeddingGeneratorGenerateEmbeddingAsync(string) / GenerateEmbeddingsAsync(IEnumerable<string>).
  • BatchingEmbeddingGenerator — wraps any IEmbeddingGenerator and coalesces concurrent single-item calls into batch API requests, reducing round-trips.

Usage

// Register a concrete implementation (e.g. Agency.Embeddings.OpenAI)
services.AddSingleton<IEmbeddingGenerator, EmbeddingGenerator>();

// Optionally wrap with batching
services.Decorate<IEmbeddingGenerator>(
    (inner, _) => new BatchingEmbeddingGenerator(inner));

Part of the Agency AI Toolkit — an open-source .NET RAG pipeline.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on AgencyDotNet.Embeddings.Common:

Package Downloads
AgencyDotNet.Memory.Common

Common types, interfaces, and options for the Agency long-term memory system.

AgencyDotNet.Sql.Postgres

PostgreSQL raw-SQL runner for the Agency AI Toolkit with a built-in vectorize() macro that inlines pgvector literals from natural-language strings via IEmbeddingGenerator.

AgencyDotNet.Sql.Sqlite

SQLite raw-SQL runner for the Agency AI Toolkit with a built-in vectorize() macro that inlines embedding literals from natural-language strings via IEmbeddingGenerator.

AgencyDotNet.Memory.Sql.Sqlite

SQLite implementation of IMemoryStore for the Agency long-term memory system. Embedded, zero-server, with an in-process cosine UDF.

AgencyDotNet.Memory.Retrieval

Retrieval engine for the Agency long-term memory system. Implements the gated vector search, composite ranking, and context injection for the agent hot path.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.194-g9adaaec0b7 117 9/1/2026
0.1.192-gd2744cd928 121 9/1/2026