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

New Skill : Setting an Alarm : (Android and IOS) #106

Open
chiragw15 opened this issue Jun 7, 2017 · 0 comments
Open

New Skill : Setting an Alarm : (Android and IOS) #106

chiragw15 opened this issue Jun 7, 2017 · 0 comments

Comments

@chiragw15
Copy link
Member

chiragw15 commented Jun 7, 2017

Add a skill for setting an alarm. This can be a little tricky to implement.

Proposed implementation :

  1. Check if user asked to set an alarm. Maybe by using " * alarm * ".
  2. Check if the query contains time. (maybe by using regex)
  3. Now, if the above 2 statements are satisfied, send a response with action type "alarm" and the time of alarm.
  4. If first condition is satisfied but not second then send a response with action type "question" and question asking to give time.
  5. Now go to statement 2

Sample query
set an alarm | set an alarm for 8 am

Action type required

  1. "alarm"
  2. "question"

Useful in

  • Android app
  • IOS app
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