BlazorChatMessage(ChatRole, List<AIContent>) Constructor
Initializes a new instance of the BlazorChatMessage class with specified settings.
Namespace: DevExpress.AIIntegration.Blazor.Chat
Assembly: DevExpress.AIIntegration.Blazor.Chat.v26.1.dll
Declaration
public BlazorChatMessage(
ChatRole role,
List<AIContent> contents
)
Parameters
| Name | Type | Description |
|---|---|---|
| role | Microsoft.Extensions.AI.ChatRole | The owner role. |
| contents | List<Microsoft.Extensions.AI.AIContent> | A collection of content items that make up the message. |
See Also