Skip to content

Commit 45f133a

Browse files
Merge pull request #6668 from syncfusion-content/982891-Blazor-UG-Updation-5
982891: Updated the Blazor UG contents for Ai Assistview
2 parents c35d29e + a39cad6 commit 45f133a

File tree

2 files changed

+41
-39
lines changed

2 files changed

+41
-39
lines changed

blazor/ai-assistview/templates.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ documentation: ug
99

1010
# Templates in Blazor AI AssistView component
1111

12-
The AI AssistView provides several template options to customize the banner, prompt, response, suggestions and footer items.
12+
The AI AssistView supports templates to customize the banner, prompt, response, suggestion, and footer areas.
1313

1414
## Banner template
1515

16-
You can use the [BannerTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_BannerTemplate) tag directive to display additional information, such as a welcome note, and more in the AI AssistView. This banner is positioned at the top of the prompt and response conversation area within the AI AssistView.
16+
Use the [BannerTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_BannerTemplate) tag directive to display additional contextual content (for example, a welcome note) at the top of the prompt and response conversation area in the AI AssistView.
1717

1818
```cshtml
1919
@@ -66,7 +66,7 @@ You can use the [BannerTemplate](https://help.syncfusion.com/cr/blazor/Syncfusio
6666

6767
## Prompt item template
6868

69-
You can use the [PromptItemTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_PromptItemTemplate) tag directive to customize the prompt items in the AI AssistView. The template context includes `Prompt`, `ToolbarItems` and `Index` items.
69+
Use the [PromptItemTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_PromptItemTemplate) tag directive to customize how prompt items are rendered. The template context exposes `Prompt`, `ToolbarItems`, and `Index`.
7070

7171
```cshtml
7272
@@ -136,7 +136,7 @@ You can use the [PromptItemTemplate](https://help.syncfusion.com/cr/blazor/Syncf
136136

137137
## Response item template
138138

139-
You can use the [ResponseItemTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_ResponseItemTemplate) tag directive to customize response items within the AI AssistView. The template context includes the `Prompt`, `Response`, `Index`, `ToolbarItems` and `Output` items.
139+
Use the [ResponseItemTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_ResponseItemTemplate) tag directive to customize response items. The template context exposes `Prompt`, `Response`, `Index`, `ToolbarItems`, and `Output`.
140140

141141
```cshtml
142142
@@ -207,7 +207,7 @@ You can use the [ResponseItemTemplate](https://help.syncfusion.com/cr/blazor/Syn
207207

208208
## Prompt suggestion item template
209209

210-
You can use the [PromptSuggestionItemTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_PromptSuggestionItemTemplate) tag directive to customize the prompt suggestion items in the AI AssistView. The template context includes the `Index` and `PromptSuggestion`.
210+
Use the [PromptSuggestionItemTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_PromptSuggestionItemTemplate) tag directive to customize the appearance of prompt suggestions. The template context provides `Index` and `PromptSuggestion`.
211211

212212
```cshtml
213213
@using Syncfusion.Blazor.InteractiveChat
@@ -269,7 +269,7 @@ You can use the [PromptSuggestionItemTemplate](https://help.syncfusion.com/cr/bl
269269

270270
## Footer template
271271

272-
You can use the [FooterTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_FooterTemplate) tag directive to customize the default footer area and manage prompt request actions in the AI AssistView. This allows users to create unique footers that meet their specific needs.
272+
Use the [FooterTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_FooterTemplate) tag directive to customize the default footer area and control prompt submission behavior in the AI AssistView. This enables building tailored input experiences while integrating with prompt request actions.
273273

274274
```cshtml
275275
@using Syncfusion.Blazor.InteractiveChat

0 commit comments

Comments
 (0)