• 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 Template in ASP.NET Core AI AssistView Control

This sample demonstrates the template functionality of the AI AssistView control.

DEMO
SOURCE

In this example, the AI AssistView control uses customizable templates for the banner, prompts, responses, and suggestions. We have used the bannerViewTemplate, promptItemTemplate, responseItemTemplate and promptSuggestionItemTemplate to define the structure and appearance of these elements.

By using the executePrompt method you can trigger the prompt request externally and generate the output based on the promptRequest data returned. If found, the response will be displayed and suggestions updated.

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