AIPromptProps
The props of the AIPrompt component.
Definition
Package:@progress/kendo-vue-conversational-ui
Properties
activeView
string
Name of the active view.
dir?
string
The direction of the Prompt.
loading?
boolean
If true, the prompt is in a loading state.
onActiveviewchange?
(name: string) => void
The onActiveViewChange event handler of the Kendo UI for Vue AIPrompt component. Fires when active view is changed. Exposes the name of the new active view as event data.
onCancel?
() => void
Called when the prompt is cancelled.
onCommandexecute?
(command: AIPromptCommandInterface) => void
The onCommandExecute event handler of the Kendo UI for Vue AIPrompt component. Fires each time the user clicks a command in the Command view. Exposes the selected command as event data.
onPromptrequest?
(prompt: string, outputItem: AIPromptOutputInterface) => void
The onPromptRequest event handler of the Kendo UI for Vue AIPrompt component.
Fires when user clicks the Generate button in the Prompt view.
The collection of generated prompt outputs that will be rendered in the Output view.
promptPlaceholder?
string
The placeholder text for the Prompt view textarea.
streaming?
boolean
If true, the prompt is in a streaming state.
Optionally specifies the rendering for the suggestions displayed in the AI Prompt component. 'suggestionsView' can be either 'classic' or 'modern'.
- 'classic': Uses a rectangular styling for suggestions.
- 'modern': Uses a chip-like styling for suggestions.
Collection with items that will override the default Toolbar items.