AIPromptOutputInterface
Interface
Definition
Package:@progress/kendo-react-conversational-ui
Properties
Command that triggered the prompt generation.
jsx
const output = { command: { name: 'Retry' }, responseContent: 'Generated content' };
id
string | number
EUnique identifier of the output item.
jsx
const output = { id: 1, responseContent: 'Generated content' };
isRetry?
boolean
Indicates if this output is a retry.
jsx
const output = { isRetry: true, responseContent: 'Generated content' };
prompt?
string
Prompt that produced this output.
jsx
const output = { prompt: 'User prompt', responseContent: 'Generated content' };
ratingType?
string
Rating type applied to the output.
jsx
const output = { ratingType: 'positive', responseContent: 'Generated content' };
responseContent
string
Generated response content.
jsx
const output = { responseContent: 'Generated content' };
subTitle?
ReactNode
Optional subTitle content.
jsx
const output = { subTitle: 'Generated Subtitle', responseContent: 'Generated content' };
title?
ReactNode
Example usage of the title property:
jsx
const output = { title: 'Generated Title', responseContent: 'Generated content' };