New to Kendo UI for VueStart a free 30-day trial

AIPromptProps

The props of the AIPrompt component.

NameTypeDefaultDescription

activeView

string

Name of the active view.

dir?

string

The direction of the Prompt.

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.

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.

outputs?

AIPromptOutputInterface[]

The collection of generated prompt outputs that will be rendered in the Output view.

promptPlaceholder?

string

The placeholder text for the Prompt view textarea.

toolbarItems?

AIPromptToolbarItemInterface[]

Collection with items that will override the default Toolbar items.

Not finding the help you need?
Contact Support