Fuzzywuzzy goes out of its way to force an intent. It’s very fuzzy
There are some things that we could do, though, to improve things. The dialogue manager in Rhasspy has support for enabling/disabling intents during different turns in a conversation (session). If you have yes/no response intents, they probably aren’t meant to start a session. We should have some easy way to specify which intents are “on” by default. Others are enabled explicitly with
Another idea is a modification to
rhasspy-fuzzywuzzy that lets you set confidence thresholds per intent. For yes/no intents then, you could set the threshold to 1 to require an exact match. Everything else will be subject to the global threshold you configure in the web UI.
I will say too that fsticuffs is usually the better choice if you’re just speaking to Rhasspy. It tends to only accept sentences that can be spoken (according to sentences.ini). Fuzzywuzzy works better if you also want to accept text chat, where you might have typos or misspellings.