• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

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 adds custom toolbar items like a right-aligned Refresh button. The promptSuggestions provides AI prompt suggestions, and promptRequest handles prompt requests when triggered.

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