Hi everyone, just had a hard time to figure out why rasa core never set the slot even the rasa_nlu already extracted the entity.
and the stories:
story greet
- greet
- utter_greet
story how are you
- small_talk_how_are_you
- utter_im_fine
story greet and how are you
- greet+small_talk_how_are_you
- utter_greet
- utter_im_fine
story find hospital
- find_a_centre[“centre_type”: “hospital”]
- slot{“centre_type”: “hospital”}
- utter_find_hospital
story find medical centre
- find_a_centre[“centre_type”: “medical centre”]
- slot{“centre_type”: “medical centre”}
- utter_find_medical_centre
story find specialitiy centre
- find_a_centre[“centre_type”: “speciality centre”]
- slot{“centre_type”: “speciality centre”}
- utter_find_speciality_centre
Domain:
intents:
- greet
- greet+small_talk_how_are_you
- find_a_centre
- small_talk_how_are_you
entities:
- centre_type
slot:
centre_type:
type: text
actions:
- utter_greet
- utter_im_fine
- utter_find_hospital
- utter_find_medical_centre
- utter_find_speciality_centre
- utter_find_centre_type
- action_restart
templates:
utter_greet:
- "Hallo there, you need any help?"
utter_im_fine:
- "Hey thank you! I'm good"
utter_find_hospital:
- "Okay, where is your location to locate the hospital?"
utter_find_medical_centre:
- "Okay, where is your location to locate the medical centre?"
utter_find_speciality_centre:
- "Okay, where is your location to locate the speciality centre?"
utter_find_centre_type:
- "Okay, what do you looking for? (Hospital, medical centre, speciality centre)"
i tried to not specify the slot{}
, still the slot is not set.
Need help for this, badly anyone can explain to me the correct way, i’m very appreciate it!