promptSuggestionItemTemplate String|Function

The template of the prompt suggestion item. It can be a string, a function or a Kendo Template.


<div id="aiprompt"></div>
    promptSuggestions: [
        "Act as [actor] and write [format] about [subject] in [100 words]",
        "Suggest post about [subject] that will be used in [social media].",
    // add k-prompt-suggestion class to reuse the built-in click functionality
    promptSuggestionItemTemplate: function({ suggestion }) {
        return `<div class="k-prompt-suggestion my-custom-suggestion-item">
            <span class="my-custom-suggestion-item-text">${suggestion}</span>
In this article