New to KendoReactStart a free 30-day trial

AIPromptOutputInterface
Premium

NameTypeDefaultDescription

command?

CommandInterface

Optionally specifies a command, if the prompt generation was triggered via a command.

jsx
const output = { command: { name: 'Retry' }, responseContent: 'Generated content' };

id

string | number

Example usage of the id property:

jsx
const output = { id: 1, responseContent: 'Generated content' };

isRetry?

boolean

Example usage of the isRetry property:

jsx
const output = { isRetry: true, responseContent: 'Generated content' };

prompt?

string

Example usage of the prompt property:

jsx
const output = { prompt: 'User prompt', responseContent: 'Generated content' };

ratingType?

string

Example usage of the ratingType property:

jsx
const output = { ratingType: 'positive', responseContent: 'Generated content' };

responseContent

string

Example usage of the responseContent property:

jsx
const output = { responseContent: 'Generated content' };

subTitle?

string

Example usage of the subTitle property:

jsx
const output = { subTitle: 'Generated Subtitle', responseContent: 'Generated content' };

title?

string

Example usage of the title property:

jsx
const output = { title: 'Generated Title', responseContent: 'Generated content' };
Not finding the help you need?
Contact Support