WoW2.Sdk.Beta.Be.Ai.Module
10.0.2-beta
Prefix Reserved
dotnet add package WoW2.Sdk.Beta.Be.Ai.Module --version 10.0.2-beta
NuGet\Install-Package WoW2.Sdk.Beta.Be.Ai.Module -Version 10.0.2-beta
<PackageReference Include="WoW2.Sdk.Beta.Be.Ai.Module" Version="10.0.2-beta" />
<PackageVersion Include="WoW2.Sdk.Beta.Be.Ai.Module" Version="10.0.2-beta" />
<PackageReference Include="WoW2.Sdk.Beta.Be.Ai.Module" />
paket add WoW2.Sdk.Beta.Be.Ai.Module --version 10.0.2-beta
#r "nuget: WoW2.Sdk.Beta.Be.Ai.Module, 10.0.2-beta"
#:package WoW2.Sdk.Beta.Be.Ai.Module@10.0.2-beta
#addin nuget:?package=WoW2.Sdk.Beta.Be.Ai.Module&version=10.0.2-beta&prerelease
#tool nuget:?package=WoW2.Sdk.Beta.Be.Ai.Module&version=10.0.2-beta&prerelease
WoW2.Sdk.Beta.Be.Ai.Module
Form 1 of the Ai capability, in the consumer's process over the consumer's PostgreSQL database:
IAiRunner— resolves a use case's prompt for each routed model, renders its{{name}}placeholders, answers from a stored inference when the same prompt, model and input ran before, else calls the model with retries on transient failures, checks the answer against the output schema, falls back along the route, and logs every attempt with its tokens and cost.IPromptsBroker— use cases and their prompts in one table: rewrite mode updates a row in place, versioned mode inserts the next version and moves labels (production,candidate).IModelPricesBroker,IInferencesBroker— prices with history, and the inference log with totals.IEvalsBroker— eval sets, runs (one prompt version × one model) now or queued, scores, ratings and the combined report. A queued matrix pins its sample, expected answers and scoring rules on a batch and each cell's resolved prompt on its run, so it repeats exactly;AddAiEvalWorker()runs the queue in a host (FOR UPDATE SKIP LOCKED, heartbeats, cancel between items, orphans failed,MaxConcurrentRuns), andAiModuleOptions.MaxEvalItemCalls(default 2,000) caps models × items per request.- Data scopes:
AiRunRequest.ScopeandEvalSetModel.Scope(tenant:{id}) file calls, sets and runs under a tenant; filters takeScopes, and a stored answer is reused only within its scope. - Images:
AiRunRequest.Imagesand eval items carryAiImageRefs; a prompt withPromptParameters.MaxImagessends the first that many to the model, resolved by the host'sIAiImageResolvers (private keys) or fetched overhttp(s), withinMaxImagesPerCall(4),MaxImageBytes(5 MB) andImageMediaTypes. Their SHA-256 joins the input hash and the inference log; a queued batch pins them.
The module owns the schema ai: AddAi() registers its embedded Migrations/NNN-name/{Apply,Rollback}.sql as the
named set ai, with its own history and lock, beside the consumer's own set. The consumer's migrate verbs (the be
sdk's MigrateCommand) apply it with every other set, and a local run's boot does. Models are called through the
Providers package; the host composes AddAiProviders(configuration) beside AddAi().
dotnet add package WoW2.Sdk.Beta.Be.Ai.Module --prerelease
services.AddAiProviders(configuration);
services.AddAi().Configure(options => options.ConnectionString = "Host=…;Database=…");
services.AddAiEvalWorker(); // optional: runs queued evals in this host
services.AddScoped<IAiImageResolver, FileStorageImages>(); // optional: images behind the product's own keys
| 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
- Anthropic (>= 13.8.0)
- Microsoft.AspNetCore.SignalR.StackExchangeRedis (>= 10.0.15)
- Microsoft.Extensions.AI.OpenAI (>= 10.8.3)
- OpenAI (>= 2.12.0)
- WoW2.Sdk.Beta.Be (>= 10.0.111-beta)
- WoW2.Sdk.Beta.Be.Abstractions (>= 10.0.111-beta)
- WoW2.Sdk.Beta.Be.Ai.Abstractions (>= 10.0.2-beta)
- WoW2.Sdk.Beta.Be.Ai.Providers (>= 10.0.2-beta)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.0.2-beta | 0 | 11/17/2026 |
| 10.0.1-beta | 0 | 11/17/2026 |
| 10.0.0-beta | 18 | 11/17/2026 |