smartBox.aiAssistantSettings.promptSuggestionsArray

A list of prompts to be suggested to the user in AI Assistant mode.

Example - set prompt suggestions

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "ProductName" },
    { field: "UnitPrice" }
  ],
  dataSource: {
    data: [
      { ProductName: "Tea", UnitPrice: 10 },
      { ProductName: "Coffee", UnitPrice: 15 }
    ]
  },
  search: {
    fields: [{ name: "ProductName", operator: "contains" }]
  },
  toolbar: ["smartBox"],
  smartBox: {
    activeMode: "AIAssistant",
    aiAssistantSettings: {
      enabled: true,
      promptSuggestions: [
        "Show me the most expensive products",
        "Which products have low stock?",
        "Calculate the average unit price"
      ],
      service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
    }
  }
});
</script>