This is my domain.yml file -
version: '"3.0"'
config:
store_entities_as_slots: true
session_config:
session_expiration_time: 60
carry_over_slots_to_new_session: true
intents:
- bye:
use_entities: []
- greet:
use_entities: []
- name:
use_entities: []
entities:
- bot
- kairon_action_response
- image
- audio
- video
- document
- doc_url
- response
slots:
response:
type: rasa.shared.core.slots.CategoricalSlot
initial_value: null
influence_conversation: true
values:
- Nupur
- Khare
mappings:
- type: from_entity
entity: response
doc_url:
type: rasa.shared.core.slots.TextSlot
initial_value: null
influence_conversation: true
mappings:
- type: from_entity
entity: doc_url
document:
type: rasa.shared.core.slots.TextSlot
initial_value: null
influence_conversation: true
mappings:
- type: from_entity
entity: document
video:
type: rasa.shared.core.slots.TextSlot
initial_value: null
influence_conversation: true
mappings:
- type: from_entity
entity: video
audio:
type: rasa.shared.core.slots.TextSlot
initial_value: null
influence_conversation: true
mappings:
- type: from_entity
entity: audio
image:
type: rasa.shared.core.slots.TextSlot
initial_value: null
influence_conversation: true
mappings:
- type: from_entity
entity: image
kairon_action_response:
type: rasa.shared.core.slots.AnySlot
initial_value: null
influence_conversation: false
mappings:
- type: custom
bot:
type: rasa.shared.core.slots.AnySlot
initial_value: 64e4d839345989d3a0c32b01
influence_conversation: false
mappings:
- type: from_entity
entity: bot
responses:
utter_greet:
- text: I'm your AI Assistant, ready to assist
- text: Let me be your AI Assistant and provide you with service
utter_default:
- text: Sorry I didn't get that. Can you rephrase?
utter_please_rephrase:
- text: I'm sorry, I didn't quite understand that. Could you rephrase?
utter_surname:
- text: your surname is Khare
utter_name:
- text: Nupur
utter_bye:
- text: Take care, I'm here for you if you need anything.
- text: Adieu, always here for you.
- text: See you later, I'm here to help.
utter_nupur:
- text: your name is Nupur
actions:
- reset
forms: {}
e2e_actions: []
rules.yml -
version: “3.0”
rules:
- rule: Say goodbye anytime the user says goodbye
steps:
- intent: goodbye
- action: utter_bye
- rule: Say ‘I am a bot’ anytime the user challenges
steps:
- intent: bot_challenge
- action: utter_default
- rule: multiflow_1
condition:
- slot_was_set:
- response: Nupur
steps:
- intent: name
- action: utter_name
- action: utter_nupur
- slot_was_set:
- response: null
stories.yml -
version: "3.0"
stories:
- story: multiflow_2
steps:
- intent: name
- action: utter_name
- slot_was_set:
- response: Khare
- action: utter_surname
- slot_was_set:
- response: null
In rule multiflow_1, action utter_nupur is not predicted after utter_name.