AIPromptOutputView
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:
<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.
onRating?
(output: AIPromptOutputInterface, ratingType: AIPromptOutputRating) => void
Fires each time the user clicks a rating button in a card.
onRetry?
(output: AIPromptOutputInterface) => void
Fires each time the user clicks the Retry button in a card.
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.
showOutputRating?
boolean
Shows the rating buttons in each card. By default, the cards do not show rating buttons.
false