ovos-core
ovos-core copied to clipboard
bug/the training process ended up in an infinite loop...
> > One time I tried to create an intent with only the optional syntax and the training process ended up in an infinite loop...
please let us know if this happens, that would be some unknown bug we need to fix!
@JarbasAl I managed to reproduce it:
First intent:
(schalten|schaltet|schalte|schalter|schalt|machen|mache|macht|macher|mach|stellen|stelle|stell|stellt|steller|) (bitte|) (den|die|das|) {entity} (bitte|) (ein|an|einschalten|einschaltet|einschalte|einschalter|einmach|einschalt|einmachen|einmache|einmacht|einmacher|einstellen|einstelle|einstell|einstellt|einsteller|anschalten|anschaltet|anschalte|anschalter|anmach|anschalt|anmachen|anmache|anmacht|anmacher|anstellen|anstelle|anstell|anstellt|ansteller) (schalten|schaltet|schalte|schalter|schalt|machen|mache|macht|macher|mach|stellen|stelle|stell|stellt|steller|) (bitte|)
Second intent:
{entity} (bitte|) (ein|an|einschalten|einschaltet|einschalte|einschalter|einmach|einschalt|einmachen|einmache|einmacht|einmacher|einstellen|einstelle|einstell|einstellt|einsteller|anschalten|anschaltet|anschalte|anschalter|anmach|anschalt|anmachen|anmache|anmacht|anmacher|anstellen|anstelle|anstell|anstellt|ansteller) (bitte|)
{entity} (bitte|) (ein|an) (schalten|schaltet|schalte|schalter|schalt|machen|mache|macht|macher|mach|stellen|stelle|stell|stellt|steller|) (bitte|)
(schalten|schaltet|schalte|schalter|schalt|machen|mache|macht|macher|mach|stellen|stelle|stell|stellt|steller) (bitte|) (den|die|das|) {entity} (bitte|) (an|ein) (bitte|)
From https://github.com/PocketMiner82/skill-homeassistant/blob/20.08/vocab/de-de/turn.on.intent
The issue is that one CPU core is always on 100% when I use the first intent. And it takes ages for OVOS to respond. When I use the second intent, the CPU usage looks normal and it responds immediately. When I had this issue a few weeks ago, it wouldn't even respond at all.
Originally posted by @PocketMiner82 in https://github.com/OpenVoiceOS/skill-ovos-ip/issues/4#issuecomment-2117996157