@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
24 lines (23 loc) • 864 B
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { AIPromptComponent } from "../aiprompt.component";
/**
* Represents the arguments for the `promptRequest` event of the AIPrompt
* ([see example](slug:events_aiprompt)).
*/
export interface PromptRequestEvent {
/**
* Represents the user prompt input.
*/
prompt: string;
/**
* Represents the instance of the AIPrompt component.
*/
sender: AIPromptComponent;
/**
* Specifies if the event is triggered by the **Retry** button.
*/
isRetry: boolean;
}