AgencyDotNet.Embeddings.Common
0.1.223-g781d477920
dotnet add package AgencyDotNet.Embeddings.Common --version 0.1.223-g781d477920
NuGet\Install-Package AgencyDotNet.Embeddings.Common -Version 0.1.223-g781d477920
<PackageReference Include="AgencyDotNet.Embeddings.Common" Version="0.1.223-g781d477920" />
<PackageVersion Include="AgencyDotNet.Embeddings.Common" Version="0.1.223-g781d477920" />
<PackageReference Include="AgencyDotNet.Embeddings.Common" />
paket add AgencyDotNet.Embeddings.Common --version 0.1.223-g781d477920
#r "nuget: AgencyDotNet.Embeddings.Common, 0.1.223-g781d477920"
#:package AgencyDotNet.Embeddings.Common@0.1.223-g781d477920
#addin nuget:?package=AgencyDotNet.Embeddings.Common&version=0.1.223-g781d477920&prerelease
#tool nuget:?package=AgencyDotNet.Embeddings.Common&version=0.1.223-g781d477920&prerelease
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
IEmbeddingGenerator—GenerateEmbeddingAsync(string)/GenerateEmbeddingsAsync(IEnumerable<string>).BatchingEmbeddingGenerator— wraps anyIEmbeddingGeneratorand 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 | Versions 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. |
-
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.Embeddings.OpenAI
OpenAI-compatible IEmbeddingGenerator implementation with full OpenTelemetry instrumentation. Works with OpenAI, Azure OpenAI, and OpenAI-compatible endpoints such as LM Studio. |
|
|
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.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.223-g781d477920 | 158 | 10/7/2026 |
| 0.1.221-g4f8e52bc70 | 148 | 10/7/2026 |
| 0.1.219-ga6f34d0d51 | 131 | 10/6/2026 |
| 0.1.214-g43f6905b2c | 139 | 10/6/2026 |
| 0.1.207-g22b1d0f8ed | 150 | 10/3/2026 |
| 0.1.198-ga453511f0e | 151 | 9/18/2026 |
| 0.1.196-g29f327a13f | 142 | 9/17/2026 |
| 0.1.194-g9adaaec0b7 | 142 | 9/1/2026 |
| 0.1.192-gd2744cd928 | 147 | 9/1/2026 |