New to Kendo UI for Vue? Start a free 30-day trial

Represents the Output view of the Kendo UI for Vue AIPrompt component. Accepts properties of type AIPromptOutputViewProps.

Definition

Package:@progress/kendo-vue-conversational-ui

Properties Interface:AIPromptOutputViewProps

Syntax:

vue
<AIPromptOutputView
    :outputs="outputs"
    :output-card="outputCard"
    :show-output-rating="true"
    @retry="onRetry"
    @copy="onCopy"
    @rating="onRating"
/>

Properties

onCopy?

(content: string) => void

Fires each time the user clicks the Copy button in a card.

Parameters:contentstring

Fires each time the user clicks a rating button in a card.

Fires each time the user clicks the Retry button in a card.

Parameters:outputAIPromptOutputInterface

Sets custom templates for the output cards. You can set templates for: header body actions Each custom template replaces the default one.

Sets the generated prompt outputs that the Output view renders.

Shows the rating buttons in each card. By default, the cards do not show rating buttons.

Default:

false