PromptRequestEventArgs

23 Sep 20251 minute to read

Properties

attachedFiles FileInfo[]

Specifies the files attached with the prompt request.
Represents an array of file information objects for files attached during the prompt request.

cancel boolean

Specifies whether the prompt request should be cancelled.
Determines if the prompt request should be stopped, giving control over whether the prompt processing continues or is aborted.

name string

Specifies name of the event.

prompt string

Specifies the text of the prompt request.

promptSuggestions string[]

Specifies the list of prompt suggestions.
Represents an array of suggested prompts that can assist the user.

responseToolbarItems ToolbarItemModel[]

Specifies the toolbar items for the output view in the AIAssistView component.
Represents the collection of toolbar items that are displayed alongside the output view, allowing for additional interactions.