I'm struggling with rasa for a little while now: I'm trying the example (inspired from rasa doc /) stories:
- story: interactive_story_1
steps:
- intent: welcome
entities:
- passport_form_status: true
- slot_was_set:
- passport_form_status: true
- action: utter_welcome
- story: interactive_story_2
steps:
- intent: welcome
entities:
- passport_form_status: false
- slot_was_set:
- passport_form_status: false
- action: utter_welcome_back
domain
version: '3.1'
entities:
- passport_form_status
slots:
passport_form_status:
type: bool
initial_value: false
influence_conversation: false
mappings:
- type: from_entity
entity: passport_form_status
intents:
- affirm
- bot_challenge
- deny
- goodbye
- greet
- mood_great
- mood_unhappy
- welcome
responses:
utter_greet:
- text: Hey! How are you?
utter_cheer_up:
- text: 'Here is something to cheer you up:'
image: .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_welcome:
- text: Welcome
utter_welcome_back:
- text: Welcome back
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
actions:
- utter_welcome
- utter_welcome_back
but the result is not the one expected. Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input -> /welcome{"passport_form_status": true}
Welcome back
Your input -> /welcome{"passport_form_status": false}
Welcome back
Your input ->
Expected /welcome{"passport_form_status": true} to display Welcome
Can anyone shed a light on this? Thanks!