ai.aiAssistant.views.promptCommandsArray
The commands to display in the prompt view.
Example
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [
{ field: "productName" },
{ field: "category" }
],
dataSource: [
{ productName: "Tea", category: "Beverages" },
{ productName: "Coffee", category: "Beverages" }
],
ai: {
aiAssistant: {
views: [
{
type: "prompt",
name: "customPrompt",
buttonText: "Custom Prompts",
promptCommands: [
{
id: "analyze",
text: "Analyze Data",
icon: "chart"
}
]
}
]
}
}
});
</script>
In this article