Example of Template in ASP.NET MVC 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 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