ai.aiAssistant.promptSuggestionsArray
Defines the suggestions for the AI Assistant tool. The suggestions are displayed in the AI Assistant tool.
Example - configure prompt suggestions
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
columns: [{ field: "product" }, { field: "category" }],
dataSource: [{ product: "Tea", category: "Beverages" }],
toolbar: ["aiAssistant"],
ai: {
aiAssistant: {
promptSuggestions: [
"Show me the top selling products",
"Which category has the highest revenue?",
"Identify products with low stock",
"Compare sales across regions"
]
},
service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
}
});
</script>
In this article