The from_text mapping will use the text of the last user utterance to fill the slot slot_name . If intent_name is None , the slot will be filled regardless of intent name.
But here is the output of interactive mode:
1 action_listen
ββββββββββββββββββββββββββββββββββββββββββββββββββββ
2 give names
intent: request_names 1.00
Current slots:
first_name: None, last_name: None, requested_slot: None, session_started_metadata: None
------
? The bot wants to run 'name_form', correct? Yes
------
Chat History
# Bot You
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 action_listen
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2 give names
intent: request_names 1.00
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3 name_form 1.00
active_loop{"name": "name_form"}
slot{"requested_slot": "first_name"}
What is your first name?
Current slots:
first_name: None, last_name: None, requested_slot: first_name, session_started_metadata: None
------
? The bot wants to run 'action_listen', correct? Yes
? Your input -> Hasan
? Your NLU model classified 'Hasan' with intent 'mood_unhappy' and there are no entities, is this correct? Yes
------
Chat History
# Bot You
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 action_listen
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2 give names
intent: request_names 1.00
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3 name_form 1.00
active_loop{"name": "name_form"}
slot{"requested_slot": "first_name"}
What is your first name?
action_listen 1.00
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
4 Hasan
intent: mood_unhappy 0.75
Current slots:
first_name: None, last_name: None, requested_slot: first_name, session_started_metadata: None
------
? The bot wants to run 'name_form', correct? (Y/n)
1 action_listen
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2 give names
intent: request_names 1.00
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3 name_form 1.00
active_loop{"name": "name_form"}
slot{"requested_slot": "first_name"}
What is your first name?
Current slots:
first_name: None, last_name: None, requested_slot: first_name, session_started_metadata: None
------
? The bot wants to run 'action_listen', correct? Yes
? Your input -> Hasan
? Your NLU model classified 'Hasan' with intent 'mood_unhappy' and there are no entities, is this correct? Yes
------
Chat History
# Bot You
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 action_listen
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
2 give names
intent: request_names 1.00
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
3 name_form 1.00
active_loop{"name": "name_form"}
slot{"requested_slot": "first_name"}
What is your first name?
action_listen 1.00
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
4 Hasan
intent: mood_unhappy 0.75
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
5 slot{"first_name": "Hasan"}
slot{"last_name": "Hasan"}
Current slots:
first_name: Hasan, last_name: Hasan, requested_slot: first_name, session_started_metadata: None
------
? The bot wants to run 'name_form', correct? (Y/n)
Thank you very much. This seems to be working now as expected. I assume that it is a good idea if RASA update the samples, and ideally if there is hint during training that something not good in the coditions.