From a76413f611842df991adf183561841c31625fcde Mon Sep 17 00:00:00 2001 From: Todor Vyagov Date: Thu, 27 Mar 2025 11:30:26 +0200 Subject: [PATCH] Update AI Prompt getting-started.md Fix incorrect numbering of bullets. --- controls/aiprompt/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/aiprompt/getting-started.md b/controls/aiprompt/getting-started.md index 8a0d00b38..0dea68376 100644 --- a/controls/aiprompt/getting-started.md +++ b/controls/aiprompt/getting-started.md @@ -20,7 +20,7 @@ Follow the steps: 1\. Go ahead and add a __RadAIPrompt__ from the Visual Studio Toolbox. -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. +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. 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.