@progress/kendo-angular-conversational-ui
Version:
Kendo UI for Angular Conversational UI components
24 lines (23 loc) • 823 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";
/**
* Arguments for the `promptRequest` event of the AIPrompt.
* ([see example]({% slug events_aiprompt %})).
*/
export interface PromptRequestEvent {
/**
* The user prompt input.
*/
prompt: string;
/**
* The AIPrompt component instance.
*/
sender: AIPromptComponent;
/**
* Specifies if the event is triggered by the retry button.
*/
isRetry: boolean;
}