Skip to main content
net8.0

Target Platform/Framework: Cross-Platform DevExpress Product Libraries Used: DevExpress AI-powered Extensions for OpenAI, Azure, Ollama, Semantic Kernel (https://www.devexpress.com/ai) Available in the following DevExpress Subscription(s): Universal, DXperience, WinForms, ASP.NET & Blazor (includes DevExtreme), WPF, Reporting SBOM: https://sbom.devexpress.com/nuget/DevExpress.AIIntegration.Blazor.Chat/26.1.5-pre-26227

Published
Jan 1, 1900
128y ago
Total Downloads
57.1K
57,130

Install

dotnet add package DevExpress.AIIntegration.Blazor.Chat --version 26.1.5-pre-26227
ProductVersions
.NET
net8.0

README

DevExpress Blazor AI Chat

DevExpress Blazor AI Chat allows you to add an interactive chat UI to your Blazor application.

Key Features

  • Fast responses
  • Additional context support (file attachments, individual/system prompts, reference materials, MCP usage)
  • Prompt suggestions
  • Rich formatted responses
  • Persistent session context
  • Runtime AI model change support
  • Manual message processing
  • AI tool calling
  • UI and appearance customization

Examples

The AI Chat component requires the following NuGet packages:

Install required packages:

dotnet add package DevExpress.Blazor
dotnet add package DevExpress.AIIntegration.Blazor.Chat

Example 1: Add the AI Chat Component to the Page

<DxAIChat />

Example 2: Restore a Saved Conversation

<DxAIChat Initialized="ChatInitialized" />

@code {
    void ChatInitialized(IAIChat chat) {
        chat.LoadMessages(new[] {
            new BlazorChatMessage(Microsoft.Extensions.AI.ChatRole.Assistant, "Hello, how can I help you?")
        });
    }
}

Evaluation Period, Pricing Options, and Licensing Terms

Whether you own a license or want to start a 30-day evaluation period, download and register your DevExpress license key. To obtain your key, log in to the DevExpress Download Manager. Use your existing DevExpress.com account or create a new account for free. For key registration instructions, see License Key for DevExpress Products.

If you purchase a license after evaluating a product, re-register your updated DevExpress license key to remove evaluation version warnings/messages.

This package is included in the following commercial subscriptions:

See DevExpress Subscriptions & Licensing for subscription comparison tables, purchasing FAQ, and licensing information.

Software Bill of Materials (SBOM)

To access SBOM files for DevExpress packages, see the following article: Software Bill of Materials (SBOM) for DevExpress .NET assemblies/NuGet packages, JavaScript, VCL and other redistributable artifacts.

See Also: Information Security | Security - What You Need to Know

Related Components/Packages

DevExpress.Blazor - Native DevExpress UI components for Blazor applications.

dotnet add package DevExpress.Blazor

Demos

GitHub Examples

Documentation

Useful Online Resources

Changes from Previous Version

No structural changes between v26.1.6-pre-26277 and v26.1.5-pre-26227.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.This version is unlisted. Prefer a listed release unless you deliberately need this exact version for reproducibility.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.