Skip to content

Instantly share code, notes, and snippets.

@JBarna
Last active November 8, 2020 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JBarna/428a518c2152d2f12d54c19887b5be8c to your computer and use it in GitHub Desktop.
Save JBarna/428a518c2152d2f12d54c19887b5be8c to your computer and use it in GitHub Desktop.
The Boss Alexa App
Wait, how did you get in the building. I thought we had you fired? Tracy - call security, we have an intruder.
Honestly, you look like you woke up in a garbage can.
If you have time to talk to Alexa, then you should probably get the hell back to work.
You didn't get enough done today, I'm ordering a purple mattress so you can sleep here tonight and think about what you've done.
Leave early? You don't live here by now?
Listen, you can leave when you retire.
Sure, that sounds great. Why don't you pack up your things and take off early, and while you're at it never come back.
Just for that, you're getting demoted. In fact, I just threw my smoothie on the floor a minute ago because I thought about your face, go clean that up.
@JBarna
Copy link
Author

JBarna commented Nov 8, 2020

Each of these files are responses to a specific intent, so if you say "ask my boss how I'm doing", that triggers check_in.txt.
If you ask "ask my boss if I can leave early", that will trigger leave_early.txt
If you ask "ask my boss if i can get a raise", that will trigger promotion.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment