Question: #nlu.yml version: 3 . 1 nlu: - intent: ask _ room _ prices examples: | - What are the room prices? - Can
#nlu.yml 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 # stories.yml version:
stories:
story: greet and ask name
steps:
intent: greet
action: uttergreet
intent: greetwithname
action: uttergreetwithname
story: book room
steps:
intent: askroomprices
action: actionshowroomprices
intent: roomtype
entities:
roomtypename: "Single"
action: utterroomtype
intent: checkindate
entities:
checkin: "Sep
action: uttercheckindate
intent: checkoutdate
entities:
checkout: "Sep
action: uttercheckoutdate
intent: guests
entities:
guestcount:
action: utterguests #domain.yml version:
intents:
askroomprices
greetwithname
greet
roomtype
checkindate
checkoutdate
guests
entities:
personname
roomtypename
checkin
checkout
guestcount
slots:
personname:
type: text
influenceconversation: false
mappings:
type: fromentity
entity: personname
roomtypename:
type: text
influenceconversation: false
mappings:
type: fromentity
entity: roomtypename
checkin:
type: text
influenceconversation: false
mappings:
type: fromentity
entity: checkin
checkout:
type: text
influenceconversation: false
mappings:
type: fromentity
entity: checkout
guestcount:
type: text
influenceconversation: false
mappings:
type: fromentity
entity: guestcount
responses:
utteraskroomprices:
text: "Here are the room prices: Please enter the room type."
uttergreet:
text: "What is your name?"
uttergreetwithname:
text: "Nice to meet you, personname
utterroomtype:
text: "Enter checkin date for roomtypename room!"
uttercheckindate:
text: "Enter checkout date for roomtypename room!"
uttercheckoutdate:
text: "Enter guests in roomtypename room!"
utterguests:
text: Do you need breakfast?"
actions:
actionshowroomprices
uttergreet
uttergreetwithname
utterroomtype
uttercheckindate
uttercheckoutdate
utterguests
sessionconfig:
sessionexpirationtime:
carryoverslotstonewsession: true please add these question in rasa chatbot Do u need breakfast Do u need Ac Do u need lunch What is payment method Do u need dinner when I try to add these the chat bot is not working can u please help me to add these questions
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
