Example of File Attachments in ASP.NET MVC 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 AssistViewToolbar adds custom toolbar items like a right-aligned Refresh button. The PromptSuggestions provides AI prompt suggestions, and PromptRequested handles prompt requests when triggered.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab