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/custom-view.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@ documentation: ug
11
11
12
12
## Adding custom views
13
13
14
-
The Blazor AI AssistView allows you to add different views available for user interaction.
14
+
The Blazor AI AssistView supports multiple views for user interaction, including the built-in AssistView and customizable CustomView types.
15
15
16
16
#### Setting view type
17
17
18
-
You can set the type of view by using the [AssistView](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html) and [CustomView](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.CustomView.html) tag directive.
18
+
Set the view type by using the [AssistView](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html) and [CustomView](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.CustomView.html) tag directives.
19
19
20
20
```cshtml
21
21
@@ -49,7 +49,7 @@ You can set the type of view by using the [AssistView](https://help.syncfusion.c
49
49
50
50
### Setting name
51
51
52
-
You can use the [Header](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_Header) property to specifies the header name of the `Assist` or `Custom` views in the AI AssistView.
52
+
Use the [Header](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_Header) property to specify the header text for the `AssistView` or `CustomView` in the AI AssistView.
53
53
54
54
```cshtml
55
55
@@ -83,7 +83,7 @@ You can use the [Header](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor
83
83
84
84
### Setting iconCss
85
85
86
-
You can customize the view icons by using the [IconCss](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_IconCss) property. By default the `e-assistview-icon` class is added as built-in header icon for the AI AssistView.
86
+
Customize the view icon by using the [IconCss](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_IconCss) property. By default, the `e-assistview-icon` class is added as the built-in header icon for the AI AssistView.
87
87
88
88
```cshtml
89
89
@@ -117,7 +117,7 @@ You can customize the view icons by using the [IconCss](https://help.syncfusion.
117
117
118
118
### Setting view template
119
119
120
-
You can use the [ViewTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_ViewTemplate) tag directive to add the view content of the multiple views added in the AI AssistView.
120
+
Use the [ViewTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_ViewTemplate) tag directive to define the content template for each view added to the AI AssistView.
121
121
122
122
```cshtml
123
123
@@ -154,7 +154,7 @@ You can use the [ViewTemplate](https://help.syncfusion.com/cr/blazor/Syncfusion.
154
154
155
155
#### Show or hide clear button
156
156
157
-
You can use the [ShowClearButton](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_ShowClearButton) property using the `AssistView` tag directive to show or hide the clear button. By default, its value is `false`, when the clear button is clicked, the prompt text entered will be cleared.
157
+
Use the [ShowClearButton](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.AssistView.html#Syncfusion_Blazor_InteractiveChat_AssistView_ShowClearButton) property on the `AssistView` tag to show or hide the clear button. The defaultvalue is `false`. When enabled and clicked, it clears the prompt text entered in the input area.
158
158
159
159
```cshtml
160
160
@@ -183,7 +183,7 @@ You can use the [ShowClearButton](https://help.syncfusion.com/cr/blazor/Syncfusi
183
183
184
184
## Setting active view
185
185
186
-
You can use the [ActiveView](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_ActiveView) property set the active view in the AI AssistView. By default, the value is `0`.
186
+
Use the [ActiveView](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_ActiveView) property to set the initially active view in the AI AssistView. By default, the value is `0`.
Copy file name to clipboardExpand all lines: blazor/ai-assistview/events.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
@@ -13,7 +13,7 @@ This section describes the AI AssistView events that will be triggered when appr
13
13
14
14
## Created
15
15
16
-
The AI AssistView component triggers the [Created](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_Created) event when the component rendering is completed.
16
+
The AI AssistView component triggers the [Created](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_Created) event after the component has completed its initial rendering.
17
17
18
18
```cshtml
19
19
@using Syncfusion.Blazor.InteractiveChat
@@ -38,7 +38,7 @@ The AI AssistView component triggers the [Created](https://help.syncfusion.com/c
38
38
39
39
## PromptRequested
40
40
41
-
The [PromptRequested](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_PromptRequested) event is triggered when the prompt request is made in the AI AssistView component.
41
+
The [PromptRequested](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_PromptRequested) event is triggered when a prompt is submitted in the AI AssistView component.
42
42
43
43
```cshtml
44
44
@using Syncfusion.Blazor.InteractiveChat
@@ -59,7 +59,7 @@ The [PromptRequested](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.In
59
59
60
60
## PromptChanged
61
61
62
-
The [PromptChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_PromptChanged) event is triggered when the prompt text is changed in the AI AssistView component.
62
+
The [PromptChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_PromptChanged) event is triggered when the prompt text changes in the AI AssistView component.
63
63
64
64
```cshtml
65
65
@using Syncfusion.Blazor.InteractiveChat
@@ -117,7 +117,7 @@ The [AttachmentUploadStart](https://help.syncfusion.com/cr/blazor/Syncfusion.Bla
117
117
118
118
## AttachmentUploadSuccess
119
119
120
-
The [AttachmentUploadSuccess](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_AttachmentUploadSuccess) event is triggered when the attached file is successfully uploaded in the AI AssistView.
120
+
The [AttachmentUploadSuccess](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_AttachmentUploadSuccess) event is triggered when an attached file is successfully uploaded in the AI AssistView.
121
121
122
122
```cshtml
123
123
@@ -150,7 +150,7 @@ The [AttachmentUploadSuccess](https://help.syncfusion.com/cr/blazor/Syncfusion.B
150
150
151
151
## AttachmentUploadFailed
152
152
153
-
The [AttachmentUploadFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_AttachmentUploadFailed) event is triggered when the attached file upload fails in the AI AssistView.
153
+
The [AttachmentUploadFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.InteractiveChat.SfAIAssistView.html#Syncfusion_Blazor_InteractiveChat_SfAIAssistView_AttachmentUploadFailed) event is triggered when an attached file upload fails in the AI AssistView.
154
154
155
155
```cshtml
156
156
@@ -212,4 +212,4 @@ The [AttachmentRemoved](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.
Copy file name to clipboardExpand all lines: blazor/ai-assistview/file-attachments.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ documentation: ug
9
9
10
10
# Attachments in Blazor AI AssistView component
11
11
12
-
The `Attachment` support in AI AssistView specifies user to include file attachments along with their prompts in the AI AssistView. This enhances the interaction by allowing users to provide additional context through files. You can enable and customize this feature and its behavior using the `AttachmentSettings` configuration.
12
+
`Attachment` support in the AI AssistView allows users to include files with their prompts, providing additional context to improve responses. Configure this behavior using the `AttachmentSettings` property, which controls enabling, allowed file types, size limits, and the server endpoints used for upload and removal.
13
13
14
-
You can use the `AttachmentSettings` property to configure the attachments in the AI AssistView.
14
+
The `AttachmentSettings` property can be used to configure attachments in the AI AssistView component.
15
15
16
16
### Enabling attachment
17
17
@@ -71,7 +71,7 @@ You can use the `SaveUrl` and `RemoveUrl` property to add the save and remove th
71
71
72
72
### Setting file type
73
73
74
-
You can use the `AllowedFileTypes` property to upload the specific file types in the attachment.
74
+
Use the AllowedFileTypes property to restrict uploads to specific file extensions. Provide one or more extensions (for example, ".png" or ".png,.jpg,.pdf").
75
75
76
76
```cshtml
77
77
@using Syncfusion.Blazor.InteractiveChat
@@ -100,7 +100,7 @@ You can use the `AllowedFileTypes` property to upload the specific file types in
100
100
101
101
### Setting file size
102
102
103
-
You can use the `MaxFileSize` property to allow the maximum file size of the upload file in the AI AssistView. By default, its value is `2000000` bytes.
103
+
Use the MaxFileSize property to define the maximum allowed upload size in bytes. By default, the value is 2000000 bytes (approximately 2 MB).
0 commit comments