AIPromptOutputViewProps
Interface
The props of the AIPromptOutputView component.
Definition
Package:@progress/kendo-vue-conversational-ui
Properties
onCopy?
(content: string) => void
Fires each time the user clicks Copy button in the card.
Parameters:contentstring
onRating?
(output: AIPromptOutputInterface, ratingType: AIPromptOutputRating) => void
Fires each time the user clicks a rating button in the card.
Parameters:outputAIPromptOutputInterfaceratingTypeAIPromptOutputRating
onRetry?
(output: AIPromptOutputInterface) => void
Fires each time the user clicks Retry button in the card.
Parameters:outputAIPromptOutputInterface
Represents a template that allows you to define custom Card fields for: header body actions The custom fields will override the default one.
The collection of generated prompt outputs that will be rendered in the Output view.
showOutputRating?
boolean
Specifies if the rating buttons in each card will be rendered. By default, rating buttons are not rendered.
Default:
false