Hey I just installed snips yesterday.
I tried to install the demo intents and actions from the doc (Create intents) with Code Snippets
Working through the doc I had the well known issue “component didn’t respond in a timely manner”
I had some other problems during installation as well, some are not directly mentioned in the doc at the position where I was at this time.
Course I didn’t find one topic that contain all the thinks I have to do, I will now create one for people like me.
Installation: (I will only mention topics I had problems with)
I want to install everything on a Raspberry PI 3 with respeaker 2 (not the kit)
Start with the installation (choose the sam installation) quick-start-raspberry-pi
Next I created an account in https://console.snips.ai after that I added my first app. I forked a simple “helloWorld” app with a “simple voice feedback”
result_sentence = "Test" current_session_id = intentMessage.session_id hermes.publish_end_session(current_session_id, result_sentence)
After that I deployed the app with sam install assistant and tryed the app.
Linke described here
With sam watch I could see that my intent was detected, but I got the “component didn’t respond in a timely manner” message.
After some hours of seaching I found that my action were not copied in the
/usr/share/snips/assistant/snippets/ folder during
sam install assistant
The solution was to manually deploy the app manually without sam.
Download assistant and safe the zip file on your computer, copy the zip file to you pi
scp <path-to-assistant.zip> pi@<pi-name>.local:~
delete old files
sudo rm -rf /usr/share/snips/assistant/
unzip and copy the new assistant files
sudo unzip assistant_****.zip -d /usr/share/snips/
render the action “Code Snippets” with templates
then go to
run the setup script
Start in a new tap
sam service log snips-skill-server
on your computer to output skill server logs and let it run for the next step
restart all components
sudo systemctl restart 'snips-*'
Check the skill server log output now
your action should be found like this
found action “/var/lib/snips/skills/YOUR_ASSISTANT_NAME.YOUR_APP_NAME/action-YOUR_ASSISTANT_NAME-YOUR-_NTENT_NAME-YOUR_ASSISTANT_NAME.YOUR-APP-NAME.py”
with now errors linke
This workflow worked for me.
Maybe I did something wrong with the sam deployment so pls correct me if I’m wrong.