Skip to main content
All docs
V25.2
  • DxAIChat Members

    An AI-powered chat component.

    Constructors

    Name Description
    DxAIChat() Initializes a new instance of the DxAIChat class.

    Properties

    Name Description
    AIChatSettings Allows access to AI Chat settings.
    AllowResizeInput Specifies whether users can resize the AI chat input box.
    ChatClientServiceKey Associates the chat component with the specific chat client service.
    CssClass Assigns a CSS class to the DxAIChat component.
    EmptyMessageAreaTemplate Specifies the template used to display the message area if there are no message bubbles.
    FileUploadEnabled Specifies whether users can attach files to messages.
    FrequencyPenalty Specifies how the model penalizes new tokens based on their frequency in the text.
    FunctionCallInfoContentTemplate Specifies a template used to display function call details appended to a message when the IncludeFunctionCallInfo property is enabled.
    HeaderText Specifies the text displayed in the AI Chat header.
    IncludeFunctionCallInfo Specifies whether the AI Chat displays basic details about an invoked function.
    MaxTokens Limits the maximum number of tokens to generate in a single call to a GPT model.
    MessageContentTemplate Specifies a template used to display message bubble content.
    MessageTemplate Specifies the template used to display chat messages.
    PromptSuggestionContentTemplate Specifies a template for prompt suggestion content.
    PromptSuggestions Specifies the collection of prompt suggestions (hint bubbles).
    ResourceItemTemplate Specifies a template for an AI resource entry in the resource picker popup.
    Resources Specifies AI Chat resources that a user can reference during a chat session.
    ResponseContentFormat Specifies the format of response content.
    ShowHeader Specifies whether the AI Chat displays the header.
    SizeMode Specifies the size of the component and its content.
    Temperature Specifies the response text randomness.
    UseStreaming Specifies whether a response should be sent as a stream.

    Methods

    Name Description
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    LoadMessages(IEnumerable<BlazorChatMessage>) Loads messages to the chat history.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    SaveMessages() Saves messages from the chat history.
    SendMessage(String, ChatRole, List<AIChatUploadFileInfo>) Sends a message to the chat.
    ToString() Returns a string that represents the current object. Inherited from Object.

    Events

    Name Description
    Initialized Fires after the component is initialized.
    MessageSent Fires after a user sends a message to the chat and allows you to manually process the message.
    ResponseReceived Fires after the AI provider returns a response, before the message is displayed in the chat.
    See Also