diff --git a/ej2-asp-core-mvc/Release-notes/31.2.9.md b/ej2-asp-core-mvc/Release-notes/31.2.9.md new file mode 100644 index 0000000000..67f1971431 --- /dev/null +++ b/ej2-asp-core-mvc/Release-notes/31.2.9.md @@ -0,0 +1,16 @@ +--- +title: Essential Studio for ##Platform_Name## Release Notes +description: Learn here about the controls in the Essential Studio for ##Platform_Name## 2025 Volume 3 SP2 Release - Release Notes +platform: ej2-asp-core-mvc +documentation: ug +--- + +# Essential Studio for ##Platform_Name## - v31.2.9 Release Notes + +{% include release-info.html date="November 12, 2025" version="v31.2.9" %} + +{% directory path: _includes/release-notes/v31.2.9 %} + +{% include {{file.url}} %} + +{% enddirectory %} \ No newline at end of file diff --git a/ej2-asp-core-mvc/Test-Results/asp-core/29.1.35.md b/ej2-asp-core-mvc/Test-Results/asp-core/29.1.35.md deleted file mode 100644 index dcac81babd..0000000000 --- a/ej2-asp-core-mvc/Test-Results/asp-core/29.1.35.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -description: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -platform: ej2-asp-core-mvc -documentation: ug ---- - -# Essential Studio®##Platform_Name## Test Automation Results - -| Component Name | Test Cases | Passed | Failed | Remarks | -|---------------|------------|--------|--------|---------| -| Accordion | 109 | 109 | 0 | Fully Passed | -| AI Assist View | 430 | 430 | 0 | Fully Passed | -| App Bar | 50 | 50 | 0 | Fully Passed | -| Autocomplete | 482 | 482 | 0 | Fully Passed | -| Avatar | 1 | 1 | 0 | Fully Passed | -| Breadcrumb | 450 | 450 | 0 | Fully Passed | -| Bullet Chart | 164 | 164 | 0 | Fully Passed | -| Button | 721 | 721 | 0 | Fully Passed | -| Button Group | 420 | 420 | 0 | Fully Passed | -| Calendar | 177 | 177 | 0 | Fully Passed | -| Carousel | 60 | 60 | 0 | Fully Passed | -| Chart | 4442 | 4442 | 0 | Fully Passed | -| Checkbox | 120 | 120 | 0 | Fully Passed | -| Chips | 45 | 45 | 0 | Fully Passed | -| Circular Gauge | 281 | 281 | 0 | Fully Passed | -| Color Picker | 225 | 225 | 0 | Fully Passed | -| Combo Box | 365 | 365 | 0 | Fully Passed | -| Common | 1739 | 1739 | 0 | Fully Passed | -| Context Menu | 150 | 150 | 0 | Fully Passed | -| Dashboard Layout | 59 | 59 | 0 | Fully Passed | -| Data Grid | 5634 | 5634 | 0 | Fully Passed | -| Date Picker | 378 | 378 | 0 | Fully Passed | -| Date Range Picker | 417 | 417 | 0 | Fully Passed | -| Date Time Picker | 321 | 321 | 0 | Fully Passed | -| Dialog | 1 | 1 | 0 | Fully Passed | -| Dropdown Button | 240 | 240 | 0 | Fully Passed | -| Dropdown List | 437 | 437 | 0 | Fully Passed | -| Dropdown Tree | 159 | 159 | 0 | Fully Passed | -| File Manager | 2174 | 2174 | 0 | Fully Passed | -| Floating Action Button | 64 | 64 | 0 | Fully Passed | -| Gantt Chart | 2758 | 2758 | 0 | Fully Passed | -| Heat Map | 478 | 478 | 0 | Fully Passed | -| Image Editor | 1583 | 1583 | 0 | Fully Passed | -| Inplace Editor | 620 | 620 | 0 | Fully Passed | -| Kanban | 65 | 65 | 0 | Fully Passed | -| Linear Gauge | 308 | 308 | 0 | Fully Passed | -| List Box | 350 | 350 | 0 | Fully Passed | -| List View | 113 | 113 | 0 | Fully Passed | -| Map | 1126 | 1126 | 0 | Fully Passed | -| Mention | 125 | 125 | 0 | Fully Passed | -| Menu | 335 | 335 | 0 | Fully Passed | -| Message | 7 | 7 | 0 | Fully Passed | -| Multicolumn Combo Box | 254 | 254 | 0 | Fully Passed | -| Multiselect Dropdown | 784 | 784 | 0 | Fully Passed | -| OTP Input | 156 | 156 | 0 | Fully Passed | -| Pivot Table | 3448 | 3448 | 0 | Fully Passed | -| Progress Bar | 78 | 78 | 0 | Fully Passed | -| Progress Button | 660 | 660 | 0 | Fully Passed | -| Query Builder | 1080 | 1080 | 0 | Fully Passed | -| Radio Button | 181 | 181 | 0 | Fully Passed | -| Range Navigator | 138 | 138 | 0 | Fully Passed | -| Rating | 121 | 121 | 0 | Fully Passed | -| Ribbon | 1848 | 1848 | 0 | Fully Passed | -| Rich Text Editor | 3875 | 3875 | 0 | Fully Passed | -| Schedule | 4576 | 4576 | 0 | Fully Passed | -| Sidebar | 194 | 194 | 0 | Fully Passed | -| Signature | 200 | 200 | 0 | Fully Passed | -| Skeleton | 44 | 44 | 0 | Fully Passed | -| Slider | 195 | 195 | 0 | Fully Passed | -| Smith Chart | 49 | 49 | 0 | Fully Passed | -| Sparkline Chart | 57 | 57 | 0 | Fully Passed | -| Speed Dial | 366 | 366 | 0 | Fully Passed | -| Split Button | 240 | 240 | 0 | Fully Passed | -| Splitter | 13 | 13 | 0 | Fully Passed | -| Spreadsheet | 8515 | 8515 | 0 | Fully Passed | -| Stepper | 250 | 250 | 0 | Fully Passed | -| Stock Chart | 677 | 677 | 0 | Fully Passed | -| Switch | 122 | 122 | 0 | Fully Passed | -| Tab | 81 | 81 | 0 | Fully Passed | -| Text Area | 198 | 198 | 0 | Fully Passed | -| Text Box | 36 | 36 | 0 | Fully Passed | -| Time Picker | 176 | 176 | 0 | Fully Passed | -| Timeline | 213 | 213 | 0 | Fully Passed | -| Toast | 47 | 47 | 0 | Fully Passed | -| Toolbar | 131 | 131 | 0 | Fully Passed | -| Tooltip | 148 | 148 | 0 | Fully Passed | -| Tree Grid | 6243 | 6243 | 0 | Fully Passed | -| Tree Map | 210 | 210 | 0 | Fully Passed | -| Tree View | 709 | 709 | 0 | Fully Passed | - diff --git a/ej2-asp-core-mvc/Test-Results/asp-mvc/29.1.35.md b/ej2-asp-core-mvc/Test-Results/asp-mvc/29.1.35.md deleted file mode 100644 index dcac81babd..0000000000 --- a/ej2-asp-core-mvc/Test-Results/asp-mvc/29.1.35.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -description: Essential Studio for ##Platform_Name## Weekly Release Test Automation Results -platform: ej2-asp-core-mvc -documentation: ug ---- - -# Essential Studio®##Platform_Name## Test Automation Results - -| Component Name | Test Cases | Passed | Failed | Remarks | -|---------------|------------|--------|--------|---------| -| Accordion | 109 | 109 | 0 | Fully Passed | -| AI Assist View | 430 | 430 | 0 | Fully Passed | -| App Bar | 50 | 50 | 0 | Fully Passed | -| Autocomplete | 482 | 482 | 0 | Fully Passed | -| Avatar | 1 | 1 | 0 | Fully Passed | -| Breadcrumb | 450 | 450 | 0 | Fully Passed | -| Bullet Chart | 164 | 164 | 0 | Fully Passed | -| Button | 721 | 721 | 0 | Fully Passed | -| Button Group | 420 | 420 | 0 | Fully Passed | -| Calendar | 177 | 177 | 0 | Fully Passed | -| Carousel | 60 | 60 | 0 | Fully Passed | -| Chart | 4442 | 4442 | 0 | Fully Passed | -| Checkbox | 120 | 120 | 0 | Fully Passed | -| Chips | 45 | 45 | 0 | Fully Passed | -| Circular Gauge | 281 | 281 | 0 | Fully Passed | -| Color Picker | 225 | 225 | 0 | Fully Passed | -| Combo Box | 365 | 365 | 0 | Fully Passed | -| Common | 1739 | 1739 | 0 | Fully Passed | -| Context Menu | 150 | 150 | 0 | Fully Passed | -| Dashboard Layout | 59 | 59 | 0 | Fully Passed | -| Data Grid | 5634 | 5634 | 0 | Fully Passed | -| Date Picker | 378 | 378 | 0 | Fully Passed | -| Date Range Picker | 417 | 417 | 0 | Fully Passed | -| Date Time Picker | 321 | 321 | 0 | Fully Passed | -| Dialog | 1 | 1 | 0 | Fully Passed | -| Dropdown Button | 240 | 240 | 0 | Fully Passed | -| Dropdown List | 437 | 437 | 0 | Fully Passed | -| Dropdown Tree | 159 | 159 | 0 | Fully Passed | -| File Manager | 2174 | 2174 | 0 | Fully Passed | -| Floating Action Button | 64 | 64 | 0 | Fully Passed | -| Gantt Chart | 2758 | 2758 | 0 | Fully Passed | -| Heat Map | 478 | 478 | 0 | Fully Passed | -| Image Editor | 1583 | 1583 | 0 | Fully Passed | -| Inplace Editor | 620 | 620 | 0 | Fully Passed | -| Kanban | 65 | 65 | 0 | Fully Passed | -| Linear Gauge | 308 | 308 | 0 | Fully Passed | -| List Box | 350 | 350 | 0 | Fully Passed | -| List View | 113 | 113 | 0 | Fully Passed | -| Map | 1126 | 1126 | 0 | Fully Passed | -| Mention | 125 | 125 | 0 | Fully Passed | -| Menu | 335 | 335 | 0 | Fully Passed | -| Message | 7 | 7 | 0 | Fully Passed | -| Multicolumn Combo Box | 254 | 254 | 0 | Fully Passed | -| Multiselect Dropdown | 784 | 784 | 0 | Fully Passed | -| OTP Input | 156 | 156 | 0 | Fully Passed | -| Pivot Table | 3448 | 3448 | 0 | Fully Passed | -| Progress Bar | 78 | 78 | 0 | Fully Passed | -| Progress Button | 660 | 660 | 0 | Fully Passed | -| Query Builder | 1080 | 1080 | 0 | Fully Passed | -| Radio Button | 181 | 181 | 0 | Fully Passed | -| Range Navigator | 138 | 138 | 0 | Fully Passed | -| Rating | 121 | 121 | 0 | Fully Passed | -| Ribbon | 1848 | 1848 | 0 | Fully Passed | -| Rich Text Editor | 3875 | 3875 | 0 | Fully Passed | -| Schedule | 4576 | 4576 | 0 | Fully Passed | -| Sidebar | 194 | 194 | 0 | Fully Passed | -| Signature | 200 | 200 | 0 | Fully Passed | -| Skeleton | 44 | 44 | 0 | Fully Passed | -| Slider | 195 | 195 | 0 | Fully Passed | -| Smith Chart | 49 | 49 | 0 | Fully Passed | -| Sparkline Chart | 57 | 57 | 0 | Fully Passed | -| Speed Dial | 366 | 366 | 0 | Fully Passed | -| Split Button | 240 | 240 | 0 | Fully Passed | -| Splitter | 13 | 13 | 0 | Fully Passed | -| Spreadsheet | 8515 | 8515 | 0 | Fully Passed | -| Stepper | 250 | 250 | 0 | Fully Passed | -| Stock Chart | 677 | 677 | 0 | Fully Passed | -| Switch | 122 | 122 | 0 | Fully Passed | -| Tab | 81 | 81 | 0 | Fully Passed | -| Text Area | 198 | 198 | 0 | Fully Passed | -| Text Box | 36 | 36 | 0 | Fully Passed | -| Time Picker | 176 | 176 | 0 | Fully Passed | -| Timeline | 213 | 213 | 0 | Fully Passed | -| Toast | 47 | 47 | 0 | Fully Passed | -| Toolbar | 131 | 131 | 0 | Fully Passed | -| Tooltip | 148 | 148 | 0 | Fully Passed | -| Tree Grid | 6243 | 6243 | 0 | Fully Passed | -| Tree Map | 210 | 210 | 0 | Fully Passed | -| Tree View | 709 | 709 | 0 | Fully Passed | - diff --git a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md index 9f40bd899c..cb80d2ec7c 100644 --- a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md +++ b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.MVC/speech/speech-to-text.md @@ -24,7 +24,18 @@ Before integrating `Speech-to-Text`, ensure the following: ## Configure Speech-to-Text -To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorporate the Web Speech API. The [SpeechToText](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/getting-started) control listens for microphone input, transcribes spoken words, and updates the AI AssistView's editable footer with the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. +To enable Speech-to-Text functionality in the ASP.NET MVC AssistView control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the AssistView’s editable footer using the [FooterTemplate](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.InteractiveChat.AIAssistView.html#Syncfusion_EJ2_InteractiveChat_AIAssistView_FooterTemplate) property to display the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. + +### Configuration Options + +* **[`Lang`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`AllowInterimResults`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -37,6 +48,14 @@ To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorp  +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#error-handling ) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + ## See Also * [Text-to-Speech](./text-to-speech) diff --git a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md index 5401f41fc3..347a5c99b0 100644 --- a/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md +++ b/ej2-asp-core-mvc/ai-assistview/EJ2_ASP.NETCORE/speech/speech-to-text.md @@ -24,7 +24,18 @@ Before integrating `Speech-to-Text`, ensure the following: ## Configure Speech-to-Text -To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorporate the Web Speech API. The [SpeechToText](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/getting-started) control listens for microphone input, transcribes spoken words, and updates the AI AssistView's editable footer with the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. +To enable Speech-to-Text functionality in the ASP.NET Core AssistView control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the AssistView’s editable footer using the [footerTemplate](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.InteractiveChat.AIAssistView.html#Syncfusion_EJ2_InteractiveChat_AIAssistView_FooterTemplate) property to display the transcribed text. The transcribed text is then sent as a prompt to the Azure OpenAI service via the AI AssistView control. + +### Configuration Options + +* **[`lang`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`allowInterimResults`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. {% tabs %} {% highlight razor tabtitle="CSHTML" %} @@ -37,6 +48,14 @@ To enable Speech-to-Text functionality, modify the `Index.cshtml` file to incorp  +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#error-handling) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + ## See Also * [Text-to-Speech](./text-to-speech) diff --git a/ej2-asp-core-mvc/chat-ui/EJ2_ASP.MVC/speech-to-text.md b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.MVC/speech-to-text.md new file mode 100644 index 0000000000..20f931a708 --- /dev/null +++ b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.MVC/speech-to-text.md @@ -0,0 +1,51 @@ +--- +layout: post +title: Speech-to-Text With ##Platform_Name## Chat UI Control | Syncfusion +description: Checkout and learn about configuration of Speech-to-Text with Azure OpenAI in ##Platform_Name## Chat UI control of Syncfusion Essential JS 2 and more. +platform: ej2-asp-core-mvc +control: Azure Open AI +publishingplatform: ##Platform_Name## +documentation: ug +--- + +# Speech-to-Text in ASP.NET MVC Chat UI + +The Syncfusion ASP.NET MVC Chat UI control integrates `Speech-to-Text` functionality through the browser's [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API). This enables the conversion of spoken words into text using the device's microphone, allowing users to interact with the Chat UI through voice input. + +## Configure Speech-to-Text + +To enable Speech-to-Text functionality in the ASP.NET MVC Chat UI control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the Chat UI’s editable footer using the [FooterTemplate](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.InteractiveChat.ChatUI.html#Syncfusion_EJ2_InteractiveChat_ChatUI_FooterTemplate) property to display the transcribed text. Once the transcription appears in the footer, users can send it as a message to others. + +### Configuration Options + +* **[`Lang`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`AllowInterimResults`](https://help.syncfusion.com/cr/aspnetmvc-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. + +{% tabs %} +{% highlight razor tabtitle="CSHTML" %} +{% include code-snippet/chat-ui/stt/razor %} +{% endhighlight %} +{% highlight c# tabtitle="SpeechToText.cs" %} +{% include code-snippet/chat-ui/stt/speechtotext.cs %} +{% endhighlight %} +{% endtabs %} + + + +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#error-handling ) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetmvc/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + +## See Also + +* [Messages](./messages) diff --git a/ej2-asp-core-mvc/chat-ui/EJ2_ASP.NETCORE/speech-to-text.md b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.NETCORE/speech-to-text.md new file mode 100644 index 0000000000..95612f2411 --- /dev/null +++ b/ej2-asp-core-mvc/chat-ui/EJ2_ASP.NETCORE/speech-to-text.md @@ -0,0 +1,51 @@ +--- +layout: post +title: Speech-to-Text With ##Platform_Name## Chat UI Control | Syncfusion +description: Checkout and learn about configuration of Speech-to-Text with Azure OpenAI in ##Platform_Name## Chat UI control of Syncfusion Essential JS 2 and more. +platform: ej2-asp-core-mvc +control: Azure Open AI +publishingplatform: ##Platform_Name## +documentation: ug +--- + +# Speech-to-Text in ASP.NET Core Chat UI + +The Syncfusion ASP.NET Core Chat UI control integrates `Speech-to-Text` functionality through the browser's [Web Speech API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API). This enables the conversion of spoken words into text using the device's microphone, allowing users to interact with the Chat UI through voice input. + +## Configure Speech-to-Text + +To enable Speech-to-Text functionality in the ASP.NET Core Chat UI control, update the `index.cshtml` file to incorporate the Web Speech API. + +The [SpeechToText](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/getting-started) control listens to audio input from the device’s microphone, transcribes spoken words into text, and updates the Chat UI’s editable footer using the [footerTemplate](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.InteractiveChat.ChatUI.html#Syncfusion_EJ2_InteractiveChat_ChatUI_FooterTemplate) property to display the transcribed text. Once the transcription appears in the footer, users can send it as a message to others. + +### Configuration Options + +* **[`lang`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_Lang)**: Specifies the language for speech recognition. For example: + + * `en-US` for American English + * `fr-FR` for French + +* **[`allowInterimResults`](https://help.syncfusion.com/cr/aspnetcore-js2/Syncfusion.EJ2.Inputs.SpeechToText.html#Syncfusion_EJ2_Inputs_SpeechToText_AllowInterimResults)**: Set to `true` to receive real-time (interim) recognition results, or `false` to receive only final results. + +{% tabs %} +{% highlight razor tabtitle="CSHTML" %} +{% include code-snippet/chat-ui/stt/tagHelper %} +{% endhighlight %} +{% highlight c# tabtitle="Gemini.cs" %} +{% include code-snippet/chat-ui/stt/speechtotext.cs %} +{% endhighlight %} +{% endtabs %} + + + +## Error Handling + +The `SpeechToText` control provides events to handle errors that may occur during speech recognition. For more information, refer to the [Error Handling](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#error-handling) section in the documentation. + +## Browser Compatibility + +The `SpeechToText` control relies on the [Speech Recognition API](https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition), which has limited browser support. Refer to the [Browser Compatibility](https://ej2.syncfusion.com/aspnetcore/documentation/speech-to-text/speech-recognition#browser-support) section for detailed information. + +## See Also + +* [Messages](./messages) diff --git a/ej2-asp-core-mvc/chat-ui/images/chatui-stt.png b/ej2-asp-core-mvc/chat-ui/images/chatui-stt.png new file mode 100644 index 0000000000..215da92a78 Binary files /dev/null and b/ej2-asp-core-mvc/chat-ui/images/chatui-stt.png differ diff --git a/ej2-asp-core-mvc/code-snippet/chat-ui/stt/razor b/ej2-asp-core-mvc/code-snippet/chat-ui/stt/razor new file mode 100644 index 0000000000..e057e9407f --- /dev/null +++ b/ej2-asp-core-mvc/code-snippet/chat-ui/stt/razor @@ -0,0 +1,144 @@ +@using Syncfusion.EJ2.InteractiveChat; +@using Newtonsoft.Json; + +