\Kendo\UI\AIPromptPromptOutput

A PHP class representing the promptOutput setting of AIPromptPromptOutputs.

Methods

id

The id of the prompt output. If none is provided, the id will be generated as a kendo.guid(). The ID is rendered as data-id attribute in the prompt output.

Returns

\Kendo\UI\AIPromptPromptOutput

Parameters

$value string

Example

<?php
$promptOutput = new \Kendo\UI\AIPromptPromptOutput();
$promptOutput->id('value');
?>

output

The output content generated from the prompt.

Returns

\Kendo\UI\AIPromptPromptOutput

Parameters

$value string

Example

<?php
$promptOutput = new \Kendo\UI\AIPromptPromptOutput();
$promptOutput->output('value');
?>

prompt

The prompt text used to generate this output.

Returns

\Kendo\UI\AIPromptPromptOutput

Parameters

$value string

Example

<?php
$promptOutput = new \Kendo\UI\AIPromptPromptOutput();
$promptOutput->prompt('value');
?>
In this article
Not finding the help you need?