\Kendo\UI\AIPromptMessages

A PHP class representing the messages setting of AIPrompt.

Methods

commandsView

The text of the commands view button in the ToolBar.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->commandsView('value');
?>

copyOutput

The text of the copy output button in the output element.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->copyOutput('value');
?>

customView

The text of the custom view button in the ToolBar.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->customView('value');
?>

generateOutput

The text of the generate output button in the prompt view footer.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->generateOutput('value');
?>

outputRetryTitle

The title of the output card when the output is generated after clicking the retry button of an output.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->outputRetryTitle('value');
?>

outputTitle

The title of the output card when the output is generated.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->outputTitle('value');
?>

outputView

The text of the output view button in the ToolBar.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->outputView('value');
?>

promptPlaceholder

The placeholder text of the textarea input of the prompt view.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->promptPlaceholder('value');
?>

promptSuggestions

The text of the prompt suggestions toggle button in the prompt view.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->promptSuggestions('value');
?>

promptView

The text of the prompt view button in the ToolBar.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\AIPromptMessages();
$messages->promptView('value');
?>

retryGeneration

The text of the retry generation button in the output card.

Returns

\Kendo\UI\AIPromptMessages

Parameters

$value string

Example

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