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.