I’m currently programming voice assistant in python that uses rhasspy-nlu for the intent recognition.
It works great ! Until now, all my intents were well recognized.
I want to use the number slot program for example to set the volume :
set volume{action:set_volume} (1..100){value}
The issue is that this sentence is not recognised at all. My tests fails only on this sentence.
It’s the first time I have to use slot programs, but slots works well for all my sentences.
I’ve replaced the paths to slots and slot_programs with the rhasspynlu.get_slots_replacements functions and I’ve put the number slot_program behin slot_programs/rhasspy/number following the Rhasspy documentation.
Thanks for your answer but it doesn’t solve my issue.
Even if I delete the number slot_programs (that is exactly the same that the built-in slot program number), it doesn’t work anymore.
Following the documentation above, "number ranges are actually references to the rhasspy/number slot program. Where is it located ? I can’t find it.
It is generated by the numbers.py script in the rassphynlu package isn’t it ?
I don’t have an explicit error providing by rhasspy.
In fact, my program just use the rhasspynlu python package and not all the Linux architecture of Rhasspy.
For that, following the documentation, I’ve specify my own slots and slot_programs directories :
With that, the slots works well.
In the slot programs directory, I’ve tried to put the number slot program, directly under “slot_programs/” and under “slot_programs/rhasspy”, but both doesn’t work : the sentence with number range is not recognised.