smartBox.aiAssistantSettings.historyBoolean|Object

Sets the settings for the history queries in AI Assistant mode. Overrides the global smartBox.history setting for this mode.

Example - configure AI assistant history

<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,
      history: {
        size: 15
      },
      service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
    }
  }
});
</script>