Skip to main content
All docs
V25.1
  • DxAIChat.AIChatSettings Property

    Allows access to AI Chat settings.

    Namespace: DevExpress.AIIntegration.Blazor.Chat

    Assembly: DevExpress.AIIntegration.Blazor.Chat.v25.1.dll

    NuGet Package: DevExpress.AIIntegration.Blazor.Chat

    Declaration

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

    Property Value

    Type Description
    RenderFragment

    A template that configures AI Chat settings.

    Remarks

    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 more information and an example.

    See Also