BlazorChatMessage(ChatRole, String, List<AIChatUploadFileInfo>) Constructor
Initializes a new instance of the BlazorChatMessage class with specified settings.
Namespace: DevExpress.AIIntegration.Blazor.Chat
Assembly: DevExpress.AIIntegration.Blazor.Chat.v25.1.dll
NuGet Package: DevExpress.AIIntegration.Blazor.Chat
Declaration
public BlazorChatMessage(
ChatRole role,
string text,
List<AIChatUploadFileInfo> files = null
)
Parameters
Name | Type | Description |
---|---|---|
role | Microsoft.Extensions.AI.ChatRole | The owner role. |
text | String | The message content. |
Optional Parameters
Name | Type | Default | Description |
---|---|---|---|
files | List<AIChatUploadFileInfo> | null | The collection of uploaded files. |
See Also