Bit.BlazorUI.AI.ChatClient
11.0.0-pre-19
This is a prerelease version of Bit.BlazorUI.AI.ChatClient.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Bit.BlazorUI.AI.ChatClient --version 11.0.0-pre-19
NuGet\Install-Package Bit.BlazorUI.AI.ChatClient -Version 11.0.0-pre-19
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="Bit.BlazorUI.AI.ChatClient" Version="11.0.0-pre-19" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bit.BlazorUI.AI.ChatClient" Version="11.0.0-pre-19" />
<PackageReference Include="Bit.BlazorUI.AI.ChatClient" />
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 Bit.BlazorUI.AI.ChatClient --version 11.0.0-pre-19
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bit.BlazorUI.AI.ChatClient, 11.0.0-pre-19"
#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 Bit.BlazorUI.AI.ChatClient@11.0.0-pre-19
#: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=Bit.BlazorUI.AI.ChatClient&version=11.0.0-pre-19&prerelease
#tool nuget:?package=Bit.BlazorUI.AI.ChatClient&version=11.0.0-pre-19&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
bit BlazorUI AI ChatClient: the Microsoft.Extensions.AI adapter of bit BlazorUI AI
Connects any Microsoft.Extensions.AI IChatClient to bit BlazorUI AI:
StreamBitAiEventsAsync/ToBitAiEventsAsyncturn a chat client's reply intoBitAiEvents - text, reasoning, function calls and results, images, files, citations, usage, errors - for the endpoints ofBit.BlazorUI.AI.Server.ToChatMessagesAsyncandToChatOptionsturn aBitAiRequestinto chat messages and options; the server's own options always win over what the browser asks for.UseChatClient()runs anIChatClientas the transport right where the components run (Blazor Server, Hybrid).
dotnet add package Bit.BlazorUI.AI.ChatClient
// On a server, with Bit.BlazorUI.AI.Server:
app.MapBitAiSse("/api/ai/chat", (request, http, ct) =>
http.RequestServices.GetRequiredService<IChatClient>().StreamBitAiEventsAsync(request, chatOptions, ct));
// In a Blazor Server or Hybrid app, with Bit.BlazorUI.AI:
builder.Services.AddBitBlazorUIAIServices(ai => ai.UseChatClient());
It needs no UI and no ASP.NET Core, so the server and the app share one package.
| 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. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Bit.BlazorUI.AI.Core (>= 11.0.0-pre-19)
- Microsoft.Extensions.AI.Abstractions (>= 10.11.0)
-
net11.0
- Bit.BlazorUI.AI.Core (>= 11.0.0-pre-19)
- Microsoft.Extensions.AI.Abstractions (>= 10.11.0)
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 |
|---|---|---|
| 11.0.0-pre-20 | 0 | 11/15/2026 |
| 11.0.0-pre-19 | 139 | 11/13/2026 |
| 11.0.0-pre-18 | 48 | 11/12/2026 |