jovo-framework
jovo-framework copied to clipboard
SpeechRecognizer doesn't support enabled: false
I'm submitting a...
- [x] Bug report
- [ ] Feature request
- [ ] Documentation issue or request
- [ ] Other... Please describe:
Expected Behavior
Setting SpeechRecognizer
to enabled: false
will use AudioRecording
(Jovo-side ASR) even for Chrome browsers that support client-side ASR.
Current Behavior
The documentation indicates that SpeechRecognizer
has an enabled
config setting. Setting enabled:false
gives an error.
https://www.jovo.tech/marketplace/client-web#webspeech-api-speechrecognizer
Error Log
Type '{ enabled: false; }' is not assignable to type 'PartialObjectDeep<SpeechRecognizerConfig, {}>'.
Object literal may only specify known properties, and 'enabled' does not exist in type 'PartialObjectDeep<SpeechRecognizerConfig, {}>'.ts(2322)
Your Environment
- Jovo Framework version used: 4.5.11
- Operating System: Windows 11