WoW2.Sdk.Beta.Be.Ai.Hosting 10.0.2-beta

Prefix Reserved
This is a prerelease version of WoW2.Sdk.Beta.Be.Ai.Hosting.
dotnet add package WoW2.Sdk.Beta.Be.Ai.Hosting --version 10.0.2-beta
                    
NuGet\Install-Package WoW2.Sdk.Beta.Be.Ai.Hosting -Version 10.0.2-beta
                    
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="WoW2.Sdk.Beta.Be.Ai.Hosting" Version="10.0.2-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WoW2.Sdk.Beta.Be.Ai.Hosting" Version="10.0.2-beta" />
                    
Directory.Packages.props
<PackageReference Include="WoW2.Sdk.Beta.Be.Ai.Hosting" />
                    
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 WoW2.Sdk.Beta.Be.Ai.Hosting --version 10.0.2-beta
                    
#r "nuget: WoW2.Sdk.Beta.Be.Ai.Hosting, 10.0.2-beta"
                    
#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 WoW2.Sdk.Beta.Be.Ai.Hosting@10.0.2-beta
                    
#: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=WoW2.Sdk.Beta.Be.Ai.Hosting&version=10.0.2-beta&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=WoW2.Sdk.Beta.Be.Ai.Hosting&version=10.0.2-beta&prerelease
                    
Install as a Cake Tool

WoW2.Sdk.Beta.Be.Ai.Hosting

The Ai HTTP API any ASP.NET Core host mounts over the contract's brokers — the module in process (AddAi() beside AddAiProviders(configuration)), or any other implementation. AddAiApi() registers one authorization policy per ai.* scope and the data-scope seam; MapAiApi() maps the routes under api/ai/.

dotnet add package WoW2.Sdk.Beta.Be.Ai.Hosting --prerelease
builder.Services.AddAiProviders(builder.Configuration);
builder.Services.AddAi().Configure(options => options.ConnectionString = "Host=…;Database=…");
builder.Services.AddAiEvalWorker();                       // optional: runs queued evals in this host
builder.Services.AddAiApi().BindConfiguration("Ai:Api");  // policies + IAiScopeAccess
// the host's own authentication (Identity tokens), then:
app.UseAuthentication();
app.UseAuthorization();
app.MapAiApi();
  • Scopes: ai.read (catalog, inferences, totals, sets, runs, reports), ai.run (POST runs, subject purges), ai.prompts-manage (use cases, prompts, labels, prices), ai.evals-manage (sets, items and their inputs, queue, cancel, ratings, export, import). No token answers 401, a token without the route's scope 403. The handler reads the scope/scp claims; a host with another principal adds its own handler for AiScopeRequirement.
  • Ai:Api:AllowAnonymousInDevelopment lifts the scopes in the Development environment only; elsewhere the host fails to start.
  • Data scopes: register an IAiScopeAccess that maps the caller to its tenant:{id} scopes (AiScopeGrant.Of), or AiScopeGrant.Every for operators. The default grants the unscoped bucket only. Lists keep the caller's scopes; a set, item or run outside them answers 404; a write naming another scope answers 403. Use cases and prompts are shared.
  • Bodies: success under data on the be sdk's JSON preset; failures as the be sdk's problem details (code = error type). POST evals/sets/{key}/runs answers 202 with the batch and its run ids; GET evals/sets/{key}/report takes ?runs=&answers=&format=json|csv|md.
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.

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