AI AssistView / File Attachments

Blazor AI AssistView Example - File Attachment Support

Loading Syncfusion Blazor Server Demos…

  • How do I set daily goals in my work day?
  • Steps to publish a e-book with marketing strategy

This sample demonstrates how users can attach files while interacting with the AI AssistView component. The component enables file uploads to enhance the context of conversations and responses.

In this example, file attachments are configured using the AttachmentSettings property. The Enable option within AttachmentSettings is set to true to allow file attachments. The SaveUrl and RemoveUrl properties are specified to handle file uploads and deletions for attached files.

Additionally, the BannerTemplate customizes the banner message, and AssistViewToolbar adds custom toolbar items such as a right-aligned Refresh button. The PromptSuggestions property provides AI prompt suggestions, and the PromptRequested event handles prompt requests when triggered.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE