Compendium.Abstractions.AI
1.1.0-preview.6
dotnet add package Compendium.Abstractions.AI --version 1.1.0-preview.6
NuGet\Install-Package Compendium.Abstractions.AI -Version 1.1.0-preview.6
<PackageReference Include="Compendium.Abstractions.AI" Version="1.1.0-preview.6" />
<PackageVersion Include="Compendium.Abstractions.AI" Version="1.1.0-preview.6" />
<PackageReference Include="Compendium.Abstractions.AI" />
paket add Compendium.Abstractions.AI --version 1.1.0-preview.6
#r "nuget: Compendium.Abstractions.AI, 1.1.0-preview.6"
#:package Compendium.Abstractions.AI@1.1.0-preview.6
#addin nuget:?package=Compendium.Abstractions.AI&version=1.1.0-preview.6&prerelease
#tool nuget:?package=Compendium.Abstractions.AI&version=1.1.0-preview.6&prerelease
Compendium.Abstractions.AI
Provider-agnostic AI/LLM abstractions for the Compendium framework:
IAIProvider— completions, streaming, embeddings against any provider.IPromptRegistry/IContextBuilder— prompt and context management.IReranker— document reranking.- Agent primitives (
IAgent,IAgentToolRegistry, request/turn/tool models). - Native tool calls:
ToolCall,Message.ToolCalls/Message.ToolCallId, and the calls read back inCompletionResponse.ToolCalls/CompletionChunk.ToolCalls(final chunk). All optional; an adapter that does not support them ignores them. AIErrors— canonical Result-pattern error codes for the AI domain.
Implementations live in the Compendium.Adapters.* packages shipped from the same
repository (SCOJH/ai): Anthropic, Azure OpenAI, Bedrock,
DeepSeek, Gemini, Hugging Face, LiteLLM, Mercury, Mistral, Ollama, OpenAI, OpenRouter.
All types return Result<T> (Compendium.Core) — no exceptions for control flow.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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 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
- Compendium.Core (>= 1.0.5-preview.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.13)
-
net9.0
- Compendium.Core (>= 1.0.5-preview.5)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.20)
NuGet packages (15)
Showing the top 5 NuGet packages that depend on Compendium.Abstractions.AI:
| Package | Downloads |
|---|---|
|
Compendium.Adapters.OpenRouter
OpenRouter AI provider adapter for Compendium Framework. Implements IAIProvider for access to 100+ LLM models including Claude, GPT-4, Llama, Mistral, and more. |
|
|
Compendium.Application
Application layer for Compendium Framework: CQRS dispatchers, Idempotency service, Saga orchestration, Pipeline behaviors. Build event-driven applications with clean architecture. |
|
|
Compendium.Adapters.AzureOpenAI
Azure OpenAI Service adapter for Compendium Framework. Implements IAIProvider against the Azure OpenAI REST API — Entra ID (DefaultAzureCredential) or api-key auth, deployment-name routing, chat completions, streaming, embeddings, tool calling, structured outputs, and Azure content-filter handling. |
|
|
Compendium.Adapters.Anthropic
Anthropic AI provider adapter for the Compendium framework. Implements IAIProvider against the Anthropic Messages API (Claude 3.5 / 3.7 / 4.x family) with streaming SSE, error mapping, and optional prompt caching. |
|
|
Compendium.Adapters.HuggingFace
Hugging Face AI provider adapter for Compendium. Implements IAIProvider against Hugging Face Inference Endpoints (paid managed) and the Serverless Inference API, exposing chat completions via the OpenAI-compatible Messages API and embeddings via the feature-extraction task, and IReranker over a Text Embeddings Inference server's /rerank. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0-preview.6 | 2 | 10/31/2026 |
| 1.0.5-preview.8 | 995 | 9/30/2026 |
| 1.0.5-preview.7 | 640 | 9/29/2026 |
| 1.0.5-preview.5 | 9,525 | 9/5/2026 |
| 1.0.5-preview.4 | 7,687 | 7/24/2026 |
| 1.0.5-preview.3 | 241 | 7/24/2026 |
| 1.0.5-preview.2 | 121 | 7/24/2026 |
| 1.0.5-preview.1 | 338 | 7/20/2026 |
| 1.0.4 | 1,013 | 6/11/2026 |
| 1.0.3 | 460 | 5/21/2026 |
| 1.0.2 | 371 | 5/18/2026 |
| 1.0.1 | 1,187 | 5/16/2026 |
| 1.0.0 | 4,938 | 5/14/2026 |
| 1.0.0-preview.9 | 618 | 5/14/2026 |
| 1.0.0-preview.8 | 1,750 | 5/2/2026 |
| 1.0.0-preview.7 | 116 | 5/2/2026 |
| 1.0.0-preview.6 | 151 | 5/2/2026 |
| 1.0.0-preview.5 | 126 | 4/30/2026 |
| 1.0.0-preview.4 | 205 | 4/26/2026 |
| 1.0.0-preview.3 | 96 | 4/26/2026 |