New to Kendo UI for jQueryStart a free 30-day trial

Configures speech-to-text functionality for the AI Assistant prompt input.

Default: true

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
   columns: [{ field: "name" }],
   dataSource: [{ name: "Jane Doe" }],
   toolbar: ["aiAssistant"],
   ai: {
     aiAssistant: {
       speechToText: {
         integrationMode: "webSpeech",
         lang: "en-US",
         continuous: false
       }
     },
     service: "https://demos.telerik.com/service/v2/ai/grid/smart-state"
   }
});
</script>

Specifies whether to continue listening after a result is received.

Default: false

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  ai: {
    aiAssistant: {
      speechToText: {
        continuous: true
      }
    }
  }
});
</script>

Specifies the integration mode for speech recognition. Available modes: "webSpeech", "none".

Default: "webSpeech"

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  ai: {
    aiAssistant: {
      speechToText: {
        integrationMode: "webSpeech"
      }
    }
  }
});
</script>

Specifies whether to return interim results during speech recognition.

Default: false

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  ai: {
    aiAssistant: {
      speechToText: {
        interimResults: true
      }
    }
  }
});
</script>

Specifies the language code for speech recognition.

Default: "en-US"

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  ai: {
    aiAssistant: {
      speechToText: {
        lang: "en-GB"
      }
    }
  }
});
</script>

Specifies the maximum number of alternatives to return from speech recognition.

Default: 1

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "productName" },
    { field: "category" }
  ],
  dataSource: [
    { productName: "Tea", category: "Beverages" },
    { productName: "Coffee", category: "Beverages" }
  ],
  ai: {
    aiAssistant: {
      speechToText: {
        maxAlternatives: 3
      }
    }
  }
});
</script>