Back to Devexpress

DxAIChat.AIChatSettings Property

blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-dxaichat-7e3897f8.md

latest1.6 KB
Original Source

DxAIChat.AIChatSettings Property

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

Declaration

csharp
[Parameter]
public RenderFragment AIChatSettings { get; set; }

Property Value

TypeDescription
RenderFragment

A template that configures AI Chat settings.

|

Remarks

Use the AIChatSettings property to access AI Chat settings.

razor
@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

DxAIChat Class

DxAIChat Members

DevExpress.AIIntegration.Blazor.Chat Namespace