New to KendoReactStart a free 30-day trial

Events
Premium

The KendoReact AIPrompt emits several events that enable you to control its behavior upon user interaction:

  • onActiveViewChange - Fires when the user switches between different views (Prompt, Output, Commands).
  • onPromptRequest - Fires when the user submits a prompt for AI processing, including retry and rating actions.
  • onCommandExecute - Fires when the user executes a command from the Commands view.
  • onCancel - Fires when the user cancels an ongoing request.

The following example demonstrates all the events that the AIPrompt features.

Change Theme
Theme
Loading ...
In this article
Suggested Links
Not finding the help you need?
Contact Support