Example of File Attachments in ASP.NET Core AI AssistView Control
This sample demonstrates how users can attach files while interacting with the AI AssistView. The component enables file uploads to enhance the context of conversations and responses.
DEMO
SOURCE
In this example, the enableAttachments property is set to true to enable file attachments. By, using the attachmentSettings configure the saveUrl and removeUrl to allow file uploads for the attached files. Additionally, the bannerTemplate customizes the banner message, and toolbarSettings includes a right-aligned Refresh button. The promptSuggestions feature offers suggested prompts, while promptRequest handles user queries.