Skip to content
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

How to trigger asr listener without using hey temi #427

Open
mubashir-shk opened this issue Nov 17, 2023 · 2 comments
Open

How to trigger asr listener without using hey temi #427

mubashir-shk opened this issue Nov 17, 2023 · 2 comments

Comments

@mubashir-shk
Copy link

I am currently working on implementing a question-answer session with Temi. However, I want to eliminate the need for the user to say 'Hey Temi' before asking a question. I have two specific concerns:

  1. How can I trigger the ASR listener without using the 'Hey Temi' command?
  2. Will Temi always be in listening mode, or does it go to sleep after answering a question, similar to the behavior with 'Hey Temi'? I want to avoid the scenario where the user has to say 'Hey Temi' for each question, and instead, I want Temi to consistently listen and answer because users can ask questions at any time.
@zjn0505
Copy link
Contributor

zjn0505 commented Nov 17, 2023

wakeup() will make temi start to listen.

You will need to call wakeup() again to keep it listening, after TTS/ASR listeners giving you the event that conversation ends.

Perhaps add person detection listener to only start to listen when there is person in front.

Also your app can be kiosk app, so the converstaion layer can be overriden by your app.

You can look into this page https://github.com/robotemi/sdk/wiki/Speech for APIs you can use.

@mubashir-shk
Copy link
Author

Thank you so much for your reply. Just one more question: as the conversation ends after the first question, I will call wakeup() again. Suppose the user didn't instantly ask a second question and asked after 5 seconds, will Temi wait for the user until 5 seconds or will it go to sleep? How much time will Temi wait for user input on the ASR listener after calling wakeup()?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants