Question: version: 3 . 1 nlu: - intent: ask _ room _ prices examples: | - What are the room prices? - Can you
version:
nlu:
intent: askroomprices
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: greetwithname
examples:
My name is Johnpersonname
I am Alicepersonname
Call me Bobpersonname
You can call me Charliepersonname
Im Davidpersonname
intent: greet
examples:
Hi
Hello
intent: roomtype
examples:
I need a Singleroomtypename
I need a Doubleroomtypename
I need a Suiteroomtypename
intent: checkindate
examples:
on Sepcheckin
on Augcheckin
on Jancheckin
intent: checkoutdate
examples:
Sepcheckout
Augcheckout
Jancheckout
intent: guests
examples:
guestcount
guestcount
guestcount
intent: breakfast
examples:
I would like breakfastbreakfastoption
intent: lunch
examples:
I would like lunchlunchoption
intent: dinner
examples:
I would like dinnerdinneroption
intent: payment
examples:
I would like to pay by cardpaymentoption #stories.yml version:
stories:
story: greet
steps:
intent: greet
action: uttergreet
story: ask name
steps:
intent: greetwithname
action: uttergreetwithname
story: ask room price
steps:
intent: askroomprices
action: actionshowroomprices
story: ask room type
steps:
intent: roomtype
entities:
roomtypename: "Single"
action: utterroomtype
story: ask checkin date
steps:
intent: checkindate
entities:
checkin: "Sep
action: uttercheckindate
story: ask checkoutdate
steps:
intent: checkoutdate
entities:
checkout: "Sep
action: uttercheckoutdate
story: ask number of guests
steps:
intent: guests
entities:
guestcount:
action: utterguests
story: inquire about breakfast
steps:
intent: breakfast
entities:
breakfastoption: "yes"
action: utterbreakfast
story: inquire about lunch
steps:
intent: lunch
entities:
lunchoption: "yes"
action: utterlunch
story: inquire about dinner
steps:
intent: dinner
entities:
dinneroption: "yes"
action: utterdinner
story: inquire about payment
steps:
intent: payment
entities:
paymentoption: "visa"
action: utterpayment pleasse provide teststories.yml file
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
