promptOutputs.id String

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.

Example

<div id="aiprompt"></div>
<script>
$("#aiprompt").kendoAIPrompt({
    activeView: 1,
    promptOutputs: [
        { id: "test-" + kendo.guid(), prompt: "create object 1", output: "Description 1" },
        { prompt: "create object 2", output: "Description 2" }
    ]
});
</script>
In this article