Skip to content

Instantly share code, notes, and snippets.

@loristns
Last active July 18, 2020 17:53
Show Gist options
  • Save loristns/18152f700c66b7b07b46c042c2bc57ce to your computer and use it in GitHub Desktop.
Save loristns/18152f700c66b7b07b46c042c2bc57ce to your computer and use it in GitHub Desktop.

Restaurant Bot dataset

Restaurant Bot is a chatbot taking orders for meals.

A meal is composed of a starter, a main dish and a dessert. Furthermore, you have a point system where you pay a fixed price of 8$ giving you 6 points you can spread across your meal.

There is several option for starter :

  • salad (-1 pt)
  • quiche (-2 pt)
  • boiled eggs (-1 pt)

for main dish :

  • pizza (-5 pt)
  • omelet (-4 pt)

for dessert :

  • chocolate muffin (-1 pt)
  • sundae (-2 pt)

You can buy additional points for 1$/point.

The bot takes orders and can use a set of commands :

  • giveMenu

  • askStarter

  • askMain

  • askDessert

  • orderStarter

  • orderMain

  • orderDessert

  • noStarter

  • noMain

  • noDessert

  • removeStarter

  • removeMain

  • removeDessert

  • order

  • askMorePoints

  • morePoints

  • finalise

Happy path dialog

A simple dialog starts like this :

"Hey I'm your Restaurant Assistant, let's order today's meal !"

I will take a salad with a pizza

  • orderStarter
  • orderMain
  • askDessert

"Alright, a salad. Alright, a pizza"

"Do you want a dessert ?"

a muffin please

  • askMorePoints

"You have not enough points left, do you want to pay 1$ more to add this item ?"

ok fine

  • morePoints
  • orderDessert
  • finalise

"Alright, a muffin"

"So your command is #0039 with a salad, a pizza and a muffin for a total of 9$. Payment will take place at the reception desk when your number will be called."

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