blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-dxaichat-7e3897f8.md
Allows access to AI Chat settings.
Namespace : DevExpress.AIIntegration.Blazor.Chat
Assembly : DevExpress.AIIntegration.Blazor.Chat.v25.2.dll
NuGet Package : DevExpress.AIIntegration.Blazor.Chat
[Parameter]
public RenderFragment AIChatSettings { get; set; }
| Type | Description |
|---|---|
| RenderFragment |
A template that configures AI Chat settings.
|
Use the AIChatSettings property to access AI Chat settings.
@using DevExpress.AIIntegration.Blazor.Chat
<DxAIChat CssClass="demo-chat"
FileUploadEnabled="true">
<AIChatSettings>
<DxAIChatFileUploadSettings MaxFileCount="2"
MaxFileSize="20000"
AllowedFileExtensions="@(new List<string> { ".jpg", ".pdf" })" />
</AIChatSettings>
</DxAIChat>
You can declare a DxAIChatFileUploadSettings object to configure validation rules for file upload operations. Refer to the class description for additional information and an example.
See Also