GridSmartBoxAiAssistantSettingsSpeechToTextButtonSettingsTagHelper
Example
Razor
<speech-to-text-button/>
Attributes
| Attribute | Type | Description |
|---|---|---|
| continuous | Boolean | Specifies whether to continue listening after a result is received. When true, the speech recognition continues until explicitly stopped. When false, recognition stops after the first result. |
| enabled | Boolean | Enables or disables the configuration. |
| integration-mode | String | Specifies the integration mode for speech recognition. Available modes: - "webSpeech" - Uses the Web Speech API for browser-based speech recognition. - "none" - Provides the microphone button without actual speech recognition, useful when handling speech input manually. |
| interim-results | Boolean | Specifies whether to return interim results during speech recognition. When true, partial transcriptions are displayed as the user speaks, providing real-time feedback. |
| lang | String | Specifies the language code for speech recognition. Uses BCP-47 language tags (e.g., "en-US", "es-ES", "fr-FR", "de-DE"). |
| max-alternatives | Double | Specifies the maximum number of alternative transcriptions to return from speech recognition. Higher values provide more options but may increase processing overhead. |