-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WakeupListener and TtsListener clarification #24
Comments
Hello, Thank you for your concern, yes we do have a current solution for programming temi to react to specific speech. You can use Local NLP which is exactly what you are looking for. Here is a small tutorial, please follow these steps:You are required to add the Local NLP intents mentioned in the code within temi's Settings. This means you need to turn Local NLP ON within Settings -> temi Developer Tools -> Local NLP. After turning it on, you must add phrases and intent names for each phrase (Picture attached below): Within the Application section of AndroidManifest.xml, you need to add your intent names. Take a look below:
MainActivity.java:
If you still have questions on how to use it please don't hesitate to reach back out. |
It Will someday be possible to do this using alexa assistant? |
Yes, we received complete certification from Alexa and are leaning towards releasing this functionality pretty soon. We currently don't have a timeline for the release just yet. |
Thanks for the help! Following your example got it working perfectly! My only other question before going at it again is, is there a way to have temi listen for NLP without first having to say "Hey Temi" first (guessing setting up something up in the Manifest again)? And how do you suggest throwing exceptions while in an app so that Temi doesn't exit when an unknown phrase is heard? |
I was wondering if there could be more clarification for the WakupListener and TtsListener objects. I'm trying to get temi to perform an action after hearing a phrase (e.g. I say "Tell me more" and temi responds "I would love to say more!"). I assume the wakeup word is similar to saying "Hey Temi" and the Ttslistener is what is activated after saying "Hey Temi" for out of the box software but I guess I'm confused about how to actually set these words and how to format the listeners properly so that Temi can perform actions accordingly (mainly following java documentation on oracle.com).
The text was updated successfully, but these errors were encountered: