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: components/aiprompt/events.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -30,14 +30,14 @@ The event handler receives an argument of type [`AIPromptPromptRequestEventArgs`
30
30
|`Prompt`|`string`| The prompt text of the request. |
31
31
|`Output`|`string`| The output of the request. The output is based on the prompt text. |
32
32
|`IsCancelled`|`bool`| Whether the event is cancelled and the built-in action is prevented. |
33
-
|`OutputItem`|`AIPromptOutputItem`| The output item. This property will be populated only when the user retries an existing output. See [`AIPromptOutputItem`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptOutputItem). |
33
+
|`OutputItem`|`AIPromptOutputItemDescriptor`| The output item. This property will be populated only when the user retries an existing output. See [`AIPromptOutputItemDescriptor`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptOutputItemDescriptor). |
34
34
35
35
36
36
## OnCommandExecute
37
37
38
38
The `OnCommandExecute` event fires when the user clicks on a command within the Commands view.
39
39
40
-
The event handler receives an argument of type [`AIPromptCommandDescriptorExecuteEventArgs`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptCommandDescriptorExecuteEventArgs). See the [example below](#example).
40
+
The event handler receives an argument of type [`AIPromptCommandExecuteEventArgs`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptCommandExecuteEventArgs). See the [example below](#example).
@@ -46,7 +46,7 @@ The event handler receives an argument of type [`AIPromptCommandDescriptorExecut
46
46
|`Command`|`AIPromptCommandDescriptor`| The executed command. |
47
47
|`Output`|`string`| The output based on the executed command. |
48
48
|`IsCancelled`|`bool`| Whether the event is cancelled and the built-in action is prevented. |
49
-
|`OutputItem`|`AIPromptOutputItem`| The output item. This property will be populated only when the user retries an existing output. See [`AIPromptOutputItem`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptOutputItem). |
49
+
|`OutputItem`|`AIPromptOutputItemDescriptor`| The output item. This property will be populated only when the user retries an existing output. See [`AIPromptOutputItemDescriptor`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptOutputItemDescriptor). |
50
50
51
51
52
52
## OnOutputRate
@@ -59,7 +59,7 @@ The event handler receives an argument of type [`AIPromptOutputRateEventArgs`](/
59
59
60
60
| Property | Type | Description |
61
61
| --- | --- | --- |
62
-
|`OutputItem`|`AIPromptOutputItem`| Specifies the output item that is being rated. See [`AIPromptOutputItem`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptOutputItem). |
62
+
|`OutputItem`|`AIPromptOutputItemDescriptor`| Specifies the output item that is being rated. See [`AIPromptOutputItemDescriptor`](/blazor-ui/api/Telerik.Blazor.Components.AIPromptOutputItem). |
0 commit comments