robotemi/sdk

Temi always responds to user STT with same default message

BLG75 opened this issue · 3 comments

Hello,

I am using the wakeup() method to have Temi listen for user speech, and the logic of my application is correctly using onAsrResult to acknowledge which key words the user input contains and trigger the appropriate goTo() method. However, Temi will not speak the appropriate message provided in my speak() method call. Instead he responds with the same default text no matter what the user says: "Check the temi app on your mobile device for your photos and videos"
temi
onasrresult

Hi, have you solved your issue?

I suppose you haven't override temi‘s default NLP, so it is still working in the background.

onAsrResult() will give you the text user speaks, but it will not interrupt voice flow. So what user speaks will still be sent to temi NLP and converted into actions.

https://github.com/robotemi/sdk/wiki/Speech#override-the-nlp-

This section describes how to override temi nlp