Blazor AI AssistView Example - Template Customization

AI AssistView / Template

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

Loading Syncfusion Blazor Server Demos…

Hello! Ask Questions, to better understand how your prompt interacts with AI AssistView!
  • How do I set daily goals in my work day?
  • Steps to publish a e-book with marketing strategy

In this example, the AI AssistView component uses customizable templates for the banner, prompts, responses, and suggestions. We have used the BannerTemplate, PromptItemTemplate, ResponseItemTemplate and PromptSuggestionItemTemplate to define the structure and appearance of these elements.

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

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