BlazorChatMessage(ChatRole, String) Constructor
In This Article
Initializes a new instance of the BlazorChatMessage class with specified settings.
Namespace: DevExpress.AIIntegration.Blazor.Chat
Assembly: DevExpress.AIIntegration.Blazor.Chat.v24.2.dll
NuGet Package: DevExpress.AIIntegration.Blazor.Chat
#Declaration
C#
public BlazorChatMessage(
ChatRole role,
string text
)
#Parameters
Name | Type | Description |
---|---|---|
role | Microsoft. |
The owner role. |
text | String | The message content. |
See Also