Back to Devexpress

DxAIChat Members

blazor-devexpress-dot-aiintegration-dot-blazor-dot-chat-dot-dxaichat-dot-underscore-members.md

latest7.3 KB
Original Source

DxAIChat Members

An AI-powered chat component.

Constructors

NameDescription
DxAIChat()Initializes a new instance of the DxAIChat class.

Properties

NameDescription
AIChatSettingsAllows access to AI Chat settings.
AllowResizeInputSpecifies whether users can resize the AI chat input box.
ChatClientServiceKeyAssociates the chat component with the specific chat client service.
CssClassAssigns a CSS class to the DxAIChat component.
EmptyMessageAreaTemplateSpecifies the template used to display the message area if there are no message bubbles.
FileUploadEnabledSpecifies whether users can attach files to messages.
FrequencyPenaltySpecifies how the model penalizes new tokens based on their frequency in the text.
FunctionCallInfoContentTemplateSpecifies a template used to display function call details appended to a message when the IncludeFunctionCallInfo property is enabled.
HeaderTextSpecifies the text displayed in the AI Chat header.
IncludeFunctionCallInfoSpecifies whether the AI Chat displays basic details about an invoked function.
MaxTokensLimits the maximum number of tokens to generate in a single call to a GPT model.
MessageContentTemplateSpecifies a template used to display message bubble content.
MessageTemplateSpecifies the template used to display chat messages.
PromptSuggestionContentTemplateSpecifies a template for prompt suggestion content.
PromptSuggestionsSpecifies the collection of prompt suggestions (hint bubbles).
ResourceItemTemplateSpecifies a template for an AI resource entry in the resource picker popup.
ResourcesSpecifies AI Chat resources that a user can reference during a chat session.
ResponseContentFormatSpecifies the format of response content.
ShowHeaderSpecifies whether the AI Chat displays the header.
SizeModeSpecifies the size of the component and its content.
TemperatureSpecifies the response text randomness.
UseStreamingSpecifies whether a response should be sent as a stream.

Methods

NameDescription
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines 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

NameDescription
InitializedFires after the component is initialized.
MessageSentFires after a user sends a message to the chat and allows you to manually process the message.
ResponseReceivedFires after the AI provider returns a response, before the message is displayed in the chat.

See Also

DxAIChat Class

DevExpress.AIIntegration.Blazor.Chat Namespace