AIPromptOutputViewProps
Interface
Represents the props of the AIPromptOutputView component.
Definition
Package:@progress/kendo-vue-conversational-ui
Properties
onCopy?
(content: string) => void
Fires each time the user clicks the Copy button in a card.
Parameters:contentstring
onRating?
(output: AIPromptOutputInterface, ratingType: AIPromptOutputRating) => void
Fires each time the user clicks a rating button in a card.
Parameters:outputAIPromptOutputInterfaceratingTypeAIPromptOutputRating
onRetry?
(output: AIPromptOutputInterface) => void
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.
showOutputRating?
boolean
Shows the rating buttons in each card. By default, the cards do not show rating buttons.
Default:
false