Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Amazon Lex Bot Command Overviews

jonathanba edited this page Mar 16, 2019 · 19 revisions

Intents

1. How to get help

  • I need help
  • help
  • What should I do
  • What can you do
  • Could you do anything
  • What do you have to offer me
  • Is there anything you can do for me
  • How can you help me

Answer(s):
Some things you can ask me: To escalate an incident say Escalate incident. To get the current incident say current incident. Besides, to get the incidents by status say get incidents by status. Or to get the incidents by priority stay get incidents by priority. Or to know about the weather say How is the weather. Or to lighten up, your mood says Tell me a joke. Or to end the conversation say Goodbye.

2. Greeting

  • Hello
  • Hi
  • What's up
  • Hey
  • Jo
  • Ahoi
  • Aloha

Answer(s):
Hey
Hello
Grüß Gott
Moin Moin
Aloha
Ahoi

3. How to end a conversation

  • Good bye
  • Goodbye!
  • Bye
  • End call
  • See you
  • Talk to you later
  • Have a nice day

Answer(s):
Thank you for using our services. Feel free to reach us for future help. Goodbye!

3.5 How to get told a joke

  • What's your name
  • What is your name
  • Who are you
  • How can I call you
  • What should I call you

Slots:
{Name} : type : AMAZON.DE_FIRST_NAME

Answer(s):
My name is Lex. What is your name?
Hello {Name}
Hey, {Name}.
Have a nice day.
Enjoy your day.
Stay positive.
How can I help you?
What can I do for you?

4. How to get told a joke

  • Tell me a joke
  • Do you know a joke
  • Tell me something funny

Answer(s):
Chuck Norris makes onions cry.
Chuck Norris knows Victoria's secret.
Chuck Norris can build a snowman out of rain.

5. How to get the weather

  • How is the weather
  • Is the sun shining today
  • Do I need to wear a coat

Answer(s):
The sun is shining today.
It's rainy.
It's under 0 degrees, please wear a coat.
It's 25 degrees outside and there are no clouds.

6. Get Incidents by priority

  • Get all incident by priority
  • Get all incidents with priority {priority}
  • Give me all incident by priority
  • Give me all incident with priority {priority}
  • I want to know about all incidents with {priority} priority

Slots:
{priority} : type : PrioritySlot

Answer(s):
What is the priority of the incident(low, medium or high)?
AWS lambda: GetIncidentsByPriority -> list of all incidents with the choosen priority

7. Create a Slack channel

  • Slack
  • Slack channel
  • Create Slack channel
  • Create channel
  • channel
  • Discuss with team
  • Disucss with team {team}
  • Discuss in Slack
  • Discuss in channel
  • Discuss in Slack channel
  • Collaborate in Slack
  • Collaborate in channel
  • Collaborate in Slack channel
  • Invite team
  • Invite team {team}
  • Invite team to Slack
  • Invite team {team} to Slack
  • Invite team to Slack channel
  • Invite team {team} to Slack channel
  • Invite team to channel
  • Invite team {team} to channel
  • Invite team members
  • Invite members of team {team}

Slots:
{team} : type : AMAZON.SportsTeam

Answer(s):
Which team should be invited to the Slack channel?
AWS lambda: Create a Slack channel for an incident and invite all responsible team members

8. Escalate an incident

  • I want to escalate an incident
  • Escalate incident
  • I want to escalate the incident with id {incidentId} to {escalationTarget}
  • Escalate the incident {incidentId} to {escalationTarget}
  • Escalate incident id {incidentId} to escalation target {escalationTarget}

Slots:
{incidentId} : type : AMAZON.NUMBER
{escalationTarget} : type : EscalationTargetSlot

Answer(s):
AWS lambda: the incident with the id {incidentId} is escalated to the {escalationTarget}

9. Close an incident

  • I want to close an incident
  • Close incident
  • I want to close the incident with id {incidentId}
  • Close the incident {incidentId}

Slots:
{incidentId} : type : AMAZON.NUMBER

Answer(s):
What is the id of the incident? AWS lambda: the incident with the id {incidentId} is updated and the status is set to closed

10. Get the most recent incident

  • Current Incident
  • Incident
  • Get the current incident
  • Retrieve the current incident

Answer(s):
AWS lambda: delivers the most recent incident

11. Get Incident by ID

  • Retrieve the incident with id
  • Retrieve the incident with number
  • Get the incident with id
  • Get the incident with number
  • Incident with id
  • Incident with number
  • Incident id
  • Incident with id {inputNumber}
  • Incident with number {inputNumber}
  • Incident id {inputNumber}
  • Incident number {inputNumber}
  • Incident {inputNumber}

Slots:
{inputNumber} : type : AMAZON.NUMBER

Answer(s):
What is the id of the incident? AWS lambda: delivers an incident by id

12. Get Incidents by status

  • Get all incidents by status
  • Get all incidents with status {status}
  • I want to know about the {status} status incidents
  • Give me all incidents by status
  • Give me all incidents with status {status}

Slots:
{status} : type : StatusSlot

Answer(s):
What is the status of the incident(open, pending or closed)?
AWS lambda: delivers all incidents with the status {status}

13. Get the responsible escalation target for today

  • Get responsible person
  • Get escalation target
  • Responsible escalation target
  • Responsible person
  • Active person

Answer(s):
AWS lambda: delivers responsible person for today

14. Get information about a Kubernetes resource

  • Kubernetes
  • Kubectl
  • Cluster

Answer(s): About which Kubernetes resource you want more information?
AWS lambda: retrieve information from the named Kubernetes resource

15. Report an incident

  • I want to report an incident
  • Report incident
  • I want to report an incident with message {message} and priority {priority}
  • Report an incident {message} priority {priority}
  • I report an incident with message {message} and priority {priority}
  • Report incident message {message} priority {priority}
  • Report incident {message} {priority}
  • Report incident {message} priority {priority}

Slots:
{message} : type : AMAZON.SearchQuery
{message} : type : PrioritySlot

Answer(s):
What is the message?
What is the priority of the incident(low, medium or high)?
AWS lambda: reports the given incident and stores it in a dynamoDB.

16. Update incidents status

  • I want to update an incident
  • Update incident
  • I want to update the incident with id {incidentId} to {status}
  • Update the incident {incidentId} to {status}
  • Update incident id {incidentId} to status {status}

Slots:
{status} : type : StatusSlot
{incidentId} : type : AMAZON.NUMBER

Answer(s):
What is the id of the incident?
What is the status of the incident(open, pending or closed)?
AWS lambda: Updates the incident to the new status {status}