Events
This topic covers the specific events exposed by the RadAIPrompt control.
PromptRequest
The PromptRequest event is raised when the user clicks on the input button. The event arguments are of the type of PromptRequestEventArgs
and expose the following properties:
-
InputText
—Gets the text, with which the prompt was initiated. Can be the text in the input textbox or the InputText property of an already generated item in case of retry. -
IsRetry
—Gets a boolean value indicating whether the event was initiated to retry for an already generated response.