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

AIPromptOutputViewProps

The props of the AIPromptOutputView component.

NameTypeDefaultDescription

onCopy?

(content: string) => void

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

onRating?

(output: AIPromptOutputInterface, ratingType: AIPromptOutputRating) => void

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

onRetry?

(output: AIPromptOutputInterface) => void

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

outputCard?

string | Function

Represents a template that allows you to define custom Card .It accepts string of a named slot or a render function. The custom fields will override the default one.

outputs?

AIPromptOutputInterface[]

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

showOutputRating?

boolean

false

Specifies if the rating buttons in each card will be rendered. By default, rating buttons are not rendered.

Not finding the help you need?
Contact Support