You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/ai-assistview/templates.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ documentation: ug
9
9
10
10
# Templates in Blazor AI AssistView component
11
11
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.
13
13
14
14
## Banner template
15
15
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.
17
17
18
18
```cshtml
19
19
@@ -66,7 +66,7 @@ You can use the [BannerTemplate](https://help.syncfusion.com/cr/blazor/Syncfusio
66
66
67
67
## Prompt item template
68
68
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`.
70
70
71
71
```cshtml
72
72
@@ -136,7 +136,7 @@ You can use the [PromptItemTemplate](https://help.syncfusion.com/cr/blazor/Syncf
136
136
137
137
## Response item template
138
138
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`.
140
140
141
141
```cshtml
142
142
@@ -207,7 +207,7 @@ You can use the [ResponseItemTemplate](https://help.syncfusion.com/cr/blazor/Syn
207
207
208
208
## Prompt suggestion item template
209
209
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`.
211
211
212
212
```cshtml
213
213
@using Syncfusion.Blazor.InteractiveChat
@@ -269,7 +269,7 @@ You can use the [PromptSuggestionItemTemplate](https://help.syncfusion.com/cr/bl
269
269
270
270
## Footer template
271
271
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.
0 commit comments