snipsco / snips-issues

Feel free to share your bugs with us.
14 stars 5 forks source link

Detecting intents from apps that are no longer installed #200

Closed brunottonurb closed 4 years ago

brunottonurb commented 4 years ago

What's the issue? After removing apps from the assistant, updating it, deleting the skill with rm -rf ... and then restarting the skill server, the voice command still detects intents from these apps.

For example the command whats your ip? will be detected as the intent ANTAT:ip_address, even tho the app is no longer found anywhere I can see. I updated the assistant multiple times and rebooted the raspberry pi.

Use Cases Impacted My apps do not work because old, uninstalled apps are blocking them?!

How to reproduce 1) Install an app with the intent whats your ip, deploy the assistant. 2) Add another app with the same or a very similar intent. Deploy. 3) Delete the app, update the assistant with sam update-assistant 4) Delete the skill folder on the assistant device, restart skill server 5) sam watch, say whats your ip 7) See that the old intent is recognized, from the first app that should no longer exist.

Expected behavior Delete apps should be deleted, also the skills should be removed.

Version and Environment Ubuntu 18 Rapsberry Pi 3+, Snips Seeed kit sam 0.0.55

snips-analytics .............. (not running)
snips-asr .................... 0.63.3 (running)
snips-audio-server ........... 0.63.3 (running)
snips-dialogue ............... 0.63.3 (running)
snips-hotword ................ 0.63.3 (running)
snips-nlu .................... 0.63.3 (running)
snips-skill-server ........... 0.63.3 (running)
snips-tts .................... 0.63.3 (running)

Logs

[22:09:19] Watching on localhost:1883 (MQTT)
[22:09:21] [Hotword] detected on site default, for model hey_snips
[22:09:21] [Asr] was asked to stop listening on site default
[22:09:21] [Hotword] was asked to toggle itself 'off' on site default
[22:09:21] [Dialogue] session with id 'c66d0a53-d573-4975-87f3-d880005c436b' was started on site default
[22:09:21] [AudioServer] was asked to play a wav of 41.1 kB with id 'ebefd79c-a2cc-4549-8e84-7f2be9e36507' on site default
[22:09:21] [AudioServer] finished playing wav with id 'ebefd79c-a2cc-4549-8e84-7f2be9e36507'
[22:09:21] [Asr] was asked to listen on site default
[22:09:23] [Asr] captured text "what 's your ip" in 1.0s
[22:09:23] [Asr] was asked to stop listening on site default
[22:09:23] [AudioServer] was asked to play a wav of 93.1 kB with id '14cc41b1-7277-4b05-859c-85575d7f6494' on site default
[22:09:25] [AudioServer] finished playing wav with id '14cc41b1-7277-4b05-859c-85575d7f6494'
[22:09:25] [Nlu] was asked to parse input "what 's your ip"
[22:09:25] [Nlu] detected intent ANTAT:ip_address with confidence score 1.000 for input "what 's your ip"
[22:09:25] [Dialogue] New intent detected ANTAT:ip_address with confidence 1.000
[22:09:30] [Dialogue] session with id 'c66d0a53-d573-4975-87f3-d880005c436b' was ended on site default. The session was ended because one of the component didn't respond in a timely manner
[22:09:30] [Asr] was asked to stop listening on site default
[22:09:30] [Hotword] was asked to toggle itself 'on' on site default

Additional information

Workaround