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

Send fallback text instead of nothing if STT fails #5

Open
tannisroot opened this issue Dec 23, 2024 · 1 comment
Open

Send fallback text instead of nothing if STT fails #5

tannisroot opened this issue Dec 23, 2024 · 1 comment

Comments

@tannisroot
Copy link

If you say an unsupported command, rhasspy-speech will send `stt-no-text-recognized" and the pipeline will fail, providing the user with no feedback.
This is not user friendly as I expect my Satellite to say something like "Sorry, I couldn't understand that" if no speech was recognized.
Instead, now, after saying an invalid request, all I get is silence, which makes me think it's just processing the request way too long.
Ideally this is something that should be handled in HA with any STT provider, but currently only rhasspy-speech runs into this problem afaik.

@flubshi
Copy link

flubshi commented Jan 9, 2025

From documentation I assume that you can define unknown_sentence_response in sentences yaml:

sentences:
  [...]
lists:
  [...]
unknown_sentence_response: "Sorry, I couldn't understand that"

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

2 participants