Skip to content

Commit d2e5643

Browse files
authored
Merge pull request #691 from telerik/TodorVyagov-patch-1
Update AI Prompt getting-started.md
2 parents 9758a33 + a76413f commit d2e5643

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controls/aiprompt/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Follow the steps:
2020

2121
1\. Go ahead and add a __RadAIPrompt__ from the Visual Studio Toolbox.
2222

23-
1\. Subscribe to the **PromptRequest** event: When the user press the **Generate** input button, the PromptRequest event will be triggered. In the event handler, you can connect to a AI model API to generate a response. The event arguments in the event handler provide information about the input text and if the request is generate for the first time or initiated to retry an already generated response.
23+
2\. Subscribe to the **PromptRequest** event: When the user press the **Generate** input button, the PromptRequest event will be triggered. In the event handler, you can connect to a AI model API to generate a response. The event arguments in the event handler provide information about the input text and if the request is generate for the first time or initiated to retry an already generated response.
2424

2525
You can create a new __AIPromptOutputItem__ instance and fill it with returned response from the AI model. Then, you can populate the __OutputItems__ collection of RadAIPrompt. This will create a new AIPromptOutputVisualItem in the Output view where you can interact with the response.
2626

0 commit comments

Comments
 (0)