Question: version: 3 . 1 nlu: - intent: ask _ room _ prices examples: | - What are the room prices? - Can you

version: "3.1"
nlu:
- intent: ask_room_prices
examples: |
- What are the room prices?
- Can you show me the prices of rooms?
- How much does each room cost?
- Tell me the room rates
- intent: greet_with_name
examples: |
- My name is [John](person_name)
- I am [Alice](person_name)
- Call me [Bob](person_name)
- You can call me [Charlie](person_name)
- I'm [David](person_name)
- intent: greet
examples: |
- Hi
- Hello
- intent: room_type
examples: |
- I need a [Single](room_type_name)
- I need a [Double](room_type_name)
- I need a [Suite](room_type_name)
- intent: checkin_date
examples: |
- on [Sep10](checkin)
- on [Aug10](checkin)
- on [Jan10](checkin)
- intent: checkout_date
examples: |
-[Sep20](checkout)
-[Aug20](checkout)
-[Jan20](checkout)
- intent: guests
examples: |
-[3](guest_count)
-[5](guest_count)
-[7](guest_count)
- intent: breakfast
examples: |
- I would like [breakfast](breakfast_option)
- intent: lunch
examples: |
- I would like [lunch](lunch_option)
- intent: dinner
examples: |
- I would like [dinner](dinner_option)
- intent: payment
examples: |
- I would like to pay by [card](payment_option) #stories.yml version: "3.1"
stories:
- story: greet
steps:
- intent: greet
- action: utter_greet
- story: ask name
steps:
- intent: greet_with_name
- action: utter_greet_with_name
- story: ask room price
steps:
- intent: ask_room_prices
- action: action_show_room_prices
- story: ask room type
steps:
- intent: room_type
entities:
- room_type_name: "Single"
- action: utter_room_type
- story: ask checkin date
steps:
- intent: checkin_date
entities:
- checkin: "Sep10"
- action: utter_checkin_date
- story: ask checkout_date
steps:
- intent: checkout_date
entities:
- checkout: "Sep20"
- action: utter_checkout_date
- story: ask number of guests
steps:
- intent: guests
entities:
- guest_count: "3"
- action: utter_guests
- story: inquire about breakfast
steps:
- intent: breakfast
entities:
- breakfast_option: "yes"
- action: utter_breakfast
- story: inquire about lunch
steps:
- intent: lunch
entities:
- lunch_option: "yes"
- action: utter_lunch
- story: inquire about dinner
steps:
- intent: dinner
entities:
- dinner_option: "yes"
- action: utter_dinner
- story: inquire about payment
steps:
- intent: payment
entities:
- payment_option: "visa"
- action: utter_payment . pleasse provide test_stories.yml file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!