Slot entry is always identified as an intent

hello

i have slots and forms defined as follows:

slots:
  first_name:
    type: text
    influence_conversation: true
  last_name:
    type: text
    influence_conversation: true
  room_type:
    type: text
    influence_conversation: true
  num_people:
    type: text
    influence_conversation: true
  cityview_gardenview:
    type: text
    influence_conversation: true
  breakfast_included:
    type: text
    influence_conversation: true
  special_request:
    type: text
    influence_conversation: true


forms:
  reservation_form:
    ignored_intents: 
      - deny
    required_slots:
      first_name:
      - type: from_entity
        entity: first_name
      - type: from_text
      last_name:
      - type: from_entity
        entity: last_name
      - type: from_text
      num_people:
      - type: from_entity
        entity: num_people
      - type: from_text
      room_type:
      - type: from_entity
        entity: room_type
      - type: from_text

and i have the story defined as follows:

- story: make reservation path 1
  steps:
    - intent: greet
    - action: utter_greet
    - action: utter_offer_service
    - intent: make_reservation
    - action: reservation_form
    - active_loop: reservation_form
    - slot_was_set:
      - requested_slot: null
    - active_loop: null

but when the form is activated and after i enter the first_name i get the following msg:

The bot wants to run 'action_listen', correct? Yes                                                                                                                                                 
Your input -> noor                                                                                                                                                                                 
Your NLU model classified 'noor' with intent 'deny' and there are no entities, is this correct? (Y/n)

i dont know what am i missing here

i wish if anyone can help

Thanks

@nelzaatari did you mention the first_name utterance in the story? or in action.py? your model is confused and picking the high confidence value under the intent deny. please share some related file.

hi nik,

thanks for your time, i have have adjusted the story as follows,

version: "2.0"

stories:

- story: make reservation path 1
  steps:
    - intent: greet
    - action: utter_greet
    - action: utter_offer_service
    - intent: make_reservation
    - action: reservation_form
    - active_loop: reservation_form
    - slot_was_set:
      - requested_slot: first_name
    - slot_was_set:
      - first_name: Noureddine
    - slot_was_set:
      - requested_slot: last_name
    - slot_was_set:
      - last_name: Elzaatari
    - slot_was_set:
      - requested_slot: num_people
    - slot_was_set:
      - num_people: 3
    - slot_was_set:
      - requested_slot: room_type
    - slot_was_set:
      - room_type: 2
    - slot_was_set:
      - requested_slot: null
    - active_loop: null

but i noticed something, when the firstname is request, if i press a new line (enter) (supply an empty name) then it store an empty string in the name and fills the rest of the slots perfectly,

is there anything that im missing in the story ?

here is shell --debug

Your input ->  i want to book a room                                                                                                                                                                 
2021-10-26 08:40:10 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
2021-10-26 08:40:10 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
2021-10-26 08:40:10 DEBUG    rasa.core.lock_store  - Acquired lock for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
2021-10-26 08:40:10 DEBUG    rasa.core.tracker_store  - Recreating tracker for id '2a6c6ebd14904f7a86f0cb0fada4c810'
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Received user message 'i want to book a room' with intent '{'id': -1341975999639098863, 'name': 'make_reservation', 'confidence': 0.9005059003829956}' and entities '[]'
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 11 events.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user intent: make_reservation | previous action name: action_listen
2021-10-26 08:40:10 DEBUG    rasa.core.policies.memoization  - There is a memorised next action 'reservation_form'
2021-10-26 08:40:10 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'reservation_form' based on user intent.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user text: i want to book a room | previous action name: action_listen
2021-10-26 08:40:10 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user intent: make_reservation | previous action name: action_listen
2021-10-26 08:40:10 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_0_MemoizationPolicy.
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Predicted next action 'reservation_form' with confidence 1.00.
2021-10-26 08:40:10 DEBUG    rasa.core.actions.forms  - Activated the form 'reservation_form'.
2021-10-26 08:40:10 DEBUG    rasa.core.actions.forms  - No pre-filled required slots to validate.
2021-10-26 08:40:10 DEBUG    rasa.core.actions.forms  - Validating user input 'UserUttered(text: i want to book a room, intent: make_reservation, use_text_for_featurization: False)'.
2021-10-26 08:40:10 DEBUG    rasa.core.actions.forms  - Validating extracted slots: {}
2021-10-26 08:40:10 DEBUG    rasa.core.actions.forms  - Request next slot 'first_name'
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f8b7a75fb50>]'.
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Action 'reservation_form' ended with events '[<rasa.shared.core.events.ActiveLoop object at 0x7f8b7b82b0a0>, <rasa.shared.core.events.SlotSet object at 0x7f8b7b82f790>, BotUttered('please provide me with your first name', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"utter_action": "utter_ask_reservation_form_first_name"}, 1635226810.4560819)]'.
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Current slot values: 
	first_name: None
	last_name: None
	room_type: None
	num_people: None
	breakfast_included: None
	special_request: None
	requested_slot: first_name
	session_started_metadata: None
2021-10-26 08:40:10 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 0] user intent: greet | previous action name: action_listen
[state 1] user intent: greet | previous action name: utter_greet
[state 2] user intent: greet | previous action name: utter_offer_service
[state 3] user intent: make_reservation | previous action name: action_listen
[state 4] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:10 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-10-26 08:40:10 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'action_listen' based on user intent.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.rule_policy  - Predicted 'action_listen' after loop 'reservation_form'.
2021-10-26 08:40:10 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_2_RulePolicy.
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 1.00.
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-10-26 08:40:10 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2021-10-26 08:40:10 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
please provide me with your first name
Your input ->  noureddine                                                                                                                                                                            
2021-10-26 08:40:45 DEBUG    rasa.core.lock_store  - Issuing ticket for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
2021-10-26 08:40:45 DEBUG    rasa.core.lock_store  - Acquiring lock for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
2021-10-26 08:40:45 DEBUG    rasa.core.lock_store  - Acquired lock for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
2021-10-26 08:40:45 DEBUG    rasa.core.tracker_store  - Recreating tracker for id '2a6c6ebd14904f7a86f0cb0fada4c810'
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Received user message 'noureddine' with intent '{'id': 5662106942764054971, 'name': 'deny', 'confidence': 0.8338602781295776}' and entities '[]'
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Logged UserUtterance - tracker now has 18 events.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 0] user intent: greet | previous action name: utter_greet
[state 1] user intent: greet | previous action name: utter_offer_service
[state 2] user intent: make_reservation | previous action name: action_listen
[state 3] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 4] user intent: deny | previous action name: action_listen | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'utter_greet' based on user intent.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user intent: make_reservation | previous action name: action_listen
[state 5] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 6] user text: noureddine | previous action name: action_listen | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - Predicted loop 'reservation_form'.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_2_RulePolicy.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Predicted next action 'reservation_form' with confidence 1.00.
2021-10-26 08:40:45 DEBUG    rasa.core.actions.forms  - Validating user input 'UserUttered(text: noureddine, intent: deny, use_text_for_featurization: False)'.
2021-10-26 08:40:45 DEBUG    rasa.core.actions.forms  - Trying to extract requested slot 'first_name' ...
2021-10-26 08:40:45 DEBUG    rasa.core.actions.forms  - Got mapping '{'type': 'from_entity', 'entity': 'first_name'}'
2021-10-26 08:40:45 DEBUG    rasa.core.actions.forms  - Got mapping '{'type': 'from_text'}'
2021-10-26 08:40:45 DEBUG    rasa.core.actions.forms  - Failed to extract requested slot 'first_name'
2021-10-26 08:40:45 DEBUG    rasa.core.actions.forms  - Validating extracted slots: {}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 0] user intent: greet | previous action name: utter_greet
[state 1] user intent: greet | previous action name: utter_offer_service
[state 2] user intent: make_reservation | previous action name: action_listen
[state 3] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 4] user intent: deny | previous action name: action_listen | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'utter_greet' based on user intent.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user intent: make_reservation | previous action name: action_listen
[state 5] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 6] previous action name: action_listen | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user intent: make_reservation | previous action name: action_listen
[state 5] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 6] user intent: deny | previous action name: action_listen | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Execution of 'reservation_form' was rejected. Setting its confidence to 0.0 in all predictions.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Made prediction using user intent.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Predicted next action 'utter_greet' with confidence 0.88.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f8b7b516220>]'.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Action 'utter_greet' ended with events '[BotUttered('Hey! How are you?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"utter_action": "utter_greet"}, 1635226845.888303)]'.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 0] user intent: greet | previous action name: utter_offer_service
[state 1] user intent: make_reservation | previous action name: action_listen
[state 2] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 3] user intent: deny | previous action name: action_listen | active loop: {'name': 'reservation_form'}
[state 4] user intent: deny | previous action name: utter_greet | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'utter_offer_service' based on user intent.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user intent: make_reservation | previous action name: action_listen
[state 5] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 6] user intent: deny | previous action name: action_listen | active loop: {'name': 'reservation_form'}
[state 7] user intent: deny | previous action name: utter_greet | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Predicted next action 'utter_offer_service' with confidence 0.90.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Action 'utter_offer_service' ended with events '[BotUttered('welcome to x hotel, how can i assist you today ?', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"utter_action": "utter_offer_service"}, 1635226845.9187148)]'.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - Current tracker state:
[state 0] user intent: make_reservation | previous action name: action_listen
[state 1] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 2] user intent: deny | previous action name: action_listen | active loop: {'name': 'reservation_form'}
[state 3] user intent: deny | previous action name: utter_greet | active loop: {'name': 'reservation_form'}
[state 4] user intent: deny | previous action name: utter_offer_service | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.memoization  - There is no memorised next action
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ted_policy  - TED predicted 'action_listen' based on user intent.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - Current tracker state:
[state 1] user intent: greet | previous action name: action_listen
[state 2] user intent: greet | previous action name: utter_greet
[state 3] user intent: greet | previous action name: utter_offer_service
[state 4] user intent: make_reservation | previous action name: action_listen
[state 5] user intent: make_reservation | previous action name: reservation_form | active loop: {'name': 'reservation_form'}
[state 6] user intent: deny | previous action name: action_listen | active loop: {'name': 'reservation_form'}
[state 7] user intent: deny | previous action name: utter_greet | active loop: {'name': 'reservation_form'}
[state 8] user intent: deny | previous action name: utter_offer_service | active loop: {'name': 'reservation_form'}
2021-10-26 08:40:45 DEBUG    rasa.core.policies.rule_policy  - There is no applicable rule.
2021-10-26 08:40:45 DEBUG    rasa.core.policies.ensemble  - Predicted next action using policy_1_TEDPolicy.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Predicted next action 'action_listen' with confidence 0.84.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Policy prediction ended with events '[]'.
2021-10-26 08:40:45 DEBUG    rasa.core.processor  - Action 'action_listen' ended with events '[]'.
2021-10-26 08:40:45 DEBUG    rasa.core.lock_store  - Deleted lock for conversation '2a6c6ebd14904f7a86f0cb0fada4c810'.
Hey! How are you?
welcome to x hotel, how can i assist you today ?

i figured out what is happening, when i enter name as noor, it is detecting a deny intent, if i enter ‘xyz’ as my first name, the form works well

how can i avoid that

@nelzaatari can you share some related files for us and even try delete the older trained model and run again, some time this approach also work. But, do share the files, so that we can see.

@nik202 thank you for your time and support, here are my files below

nlu.yaml

version: "2.0"

nlu:
- intent: greet
  examples: |
    - hey
    - hello
    - hi
    - hello there
    - good morning
    - good evening
    - moin
    - hey there
    - let's go
    - hey dude
    - goodmorning
    - goodevening
    - good afternoon

- intent: goodbye
  examples: |
    - good afternoon
    - cu
    - good by
    - cee you later
    - good night
    - bye
    - goodbye
    - have a nice day
    - see you around
    - bye bye
    - see you later

- intent: affirm
  examples: |
    - yes
    - y
    - indeed
    - of course
    - that sounds good
    - correct

- intent: deny
  examples: |
    - no
    - n
    - never
    - I don't think so
    - don't like that
    - no way
    - not really

- intent: bot_challenge
  examples: |
    - are you a bot?
    - are you a human?
    - am I talking to a bot?
    - am I talking to a human?

- intent: make_reservation
  examples: |
    - i would like to book a room
    - i want to book a room please
    - i want to make a reservation

stories.yaml

version: "2.0"

stories:

- story: make reservation path 1
  steps:
    - intent: greet
    - action: utter_greet
    - action: utter_offer_service
    - intent: make_reservation
    - action: reservation_form
    - active_loop: reservation_form
    - slot_was_set:
      - requested_slot: first_name
    - slot_was_set:
      - first_name: Noureddine
    - slot_was_set:
      - requested_slot: last_name
    - slot_was_set:
      - last_name: Elzaatari
    - slot_was_set:
      - requested_slot: num_people
    - slot_was_set:
      - num_people: 3
    - slot_was_set:
      - requested_slot: room_type
    - slot_was_set:
      - room_type: 2
    - slot_was_set:
      - requested_slot: stay_duration
    - slot_was_set:
      - stay_duration: 2
    - slot_was_set:
      - requested_slot: null
    - active_loop: null
    - action: utter_submit_reservation_form
    - action: utter_display_reservation_form
    - intent: affirm

domain.yaml

version: "2.0"

intents:
  - greet
  - goodbye
  - affirm
  - deny
  - bot_challenge
  - make_reservation
  - enquire_reservation
  - enquire_facility
  - cancel_reservation
  - enquire_emergency
  - enquire_contact
  - enquire_prices
  - enquire_rules
  - enquire_surrounding

entities:
  - service
  - first_name
  - last_name
  - room_type
  - num_people
  - breakfast_included
  - special_request

slots:
  first_name:
    type: text
    influence_conversation: true
  last_name:
    type: text
    influence_conversation: true
  room_type:
    type: text
    influence_conversation: true
  num_people:
    type: text
    influence_conversation: true
  breakfast_included:
    type: text
    influence_conversation: true
  special_request:
    type: text
    influence_conversation: true
  stay_duration:
    type: text
    influence_conversation: true


forms:
  reservation_form:
    required_slots:
      first_name:
      - type: from_entity
        entity: first_name
      - type: from_text
        not_intent: deny
      last_name:
      - type: from_entity
        entity: last_name
      - type: from_text
      num_people:
      - type: from_entity
        entity: num_people
      - type: from_text
      room_type:
      - type: from_entity
        entity: room_type
      - type: from_text
      stay_duration:
      - type: from_entity
        entity: stay_duration
      - type: from_text

responses:
  utter_offer_service:
    - text: "welcome to x hotel, how can i assist you today ?"

  utter_greet:
    - text: "Hey! How are you?"

  utter_cheer_up:
    - text: "Here is something to cheer you up:"
      image: "https://i.imgur.com/nGF1K8f.jpg"

  utter_did_that_help:
    - text: "Did that help you?"

  utter_happy:
    - text: "Great, carry on!"

  utter_goodbye:
    - text: "Bye"

  utter_iamabot:
    - text: "I am a bot, powered by Rasa."

  utter_request_information:
    - text: "please provide me with the following information"

  utter_ask_reservation_form_first_name:
    - text: "please provide me with your first name as in your Passport"

  utter_ask_reservation_form_last_name:
    - text: "please provide me with your last name  as in your Passport"

  utter_ask_reservation_form_num_people:
    - text: "please provide me with number of guests"

  utter_ask_reservation_form_room_type:
    - text: "please choose from the preferred room type"

  utter_ask_reservation_form_stay_duration:
    - text: "what is the duration of your stay ?"

  utter_submit_reservation_form:
    - text: "ok, thank you"

  utter_display_reservation_form:
    - text: "your name is {last_name} {first_name}, have requested to book a {room_type} room for {num_people} guests, please cofirm that the reservation information is correct"

actions:
- validate_reservation_form


session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

config.yaml

language: en

pipeline:
  - name: WhitespaceTokenizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: char_wb
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100

policies:
  - name: MemoizationPolicy
  - name: TEDPolicy
    max_history: 5
    epochs: 100
  - name: RulePolicy