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/inlineaiprompt/streaming.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Streaming is particularly useful when:
24
24
To enable streaming in the InlineAIPrompt component, follow these steps:
25
25
26
26
1. Handle the [`OnPromptRequest`](slug:inlineaiprompt-events#onpromptrequest) event to start streaming output. When the user sends a prompt, the `OnPromptRequest` event is triggered. In the event handler, set up your AI model streaming logic and call the `AppendOutput` method on the TelerikInlineAIPrompt reference to update the output as new data arrives.
27
-
2. Handle the [`OnPromptRequestStop`](slug:slug:inlineaiprompt-events#onpromptrequeststop) event to stop streaming.
27
+
2. Handle the [`OnPromptRequestStop`](slug:inlineaiprompt-events#onpromptrequeststop) event to stop streaming.
28
28
This event is fired when the user clicks the Stop Generation button. You can use it to cancel the AI request.
0 commit comments