Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpeechRecognizer doesn't support enabled: false #1574

Open
1 of 4 tasks
rmtuckerphx opened this issue Jul 15, 2023 · 0 comments
Open
1 of 4 tasks

SpeechRecognizer doesn't support enabled: false #1574

rmtuckerphx opened this issue Jul 15, 2023 · 0 comments

Comments

@rmtuckerphx
Copy link
Contributor

I'm submitting a...

  • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant