I want to build a chatbot which asks the customer about the care worker they are hiring. So in step one I want to know the name of the person who gets taken care of and in step two the name og the care worker. Is there any way I can tell rasa that the order of the answers matters? Rasa always gets confused and skips to the part of the story where the second name is stated. Stories look like this:
-
story: pflegeantrag steps:
- intent: gruessen
- action: utter_gruessen
- intent: pflegeantrag_anfragen
- action: utter_pflegeantrag_vnr_erfragen
- intent: pflegeantrag_vnr_mitgeben
entities:
- versicherungsnummer
- action: utter_pflegeantrag_name_erfragen
- intent: pflegeantrag_name_mitgeben
entities:
- name
- vorname
- action: utter_pflegeantrag_adresse_erfragen
- intent: pflegeantrag_adresse_mitgeben
entities:
- strasse
- wohnort
- plz
- action: utter_pflegeantrag_telefonnummer_erfragen
- intent: pflegeantrag_telefonnummer_mitgeben
entities:
- telefonnr
- action: utter_pflegeantrag_geburtsdatum_erfragen
- intent: pflegeantrag_geburtsdatum_mitgeben
entities:
- geburtsdatum
- action: utter_pflegeantrag_hauslich_or_stationaer
- intent: pflegeantrag_hauslich
- action: utter_pflegeantrag_hauslich_art
- or:
- intent: pflegeantrag_hauslich_pflegedienste
- intent: pflegeantrag_hauslich_pflegepersonen
- intent: pflegeantrag_hauslich_tages_nachtpflege
- intent: pflegeantrag_hauslich_betreuungsangebote
- checkpoint: first_pflegeantrag_part_finished
-
story: pflegeantrag_pflegeperson steps:
- checkpoint: first_pflegeantrag_part_finished
- action: utter_pflegeantrag_pflegeperson_name_erfragen
- intent: pflegeantrag_name_mitgeben
entities:
- name
- vorname
- action: utter_pflegeantrag_pflegeperson_adresse_erfragen
- intent: pflegeantrag_adresse_mitgeben
entities:
- strasse
- wohnort
- plz
- action: utter_pflegeantrag_pflegeperson_telefonnummer_erfragen
- intent: pflegeantrag_telefonnummer_mitgeben
entities:
- telefonnr
- action: utter_pflegeantrag_pflegeperson_iknummer_erfragen
- intent: pflegeperson_iknummer_mitgeben
- action: action_uebernahme_vnr_pflegeantrag
Is there anyway to seperate the two intents pflegeantrag_name_mitgeben to tell rasa that the first one is for a different person than the second one?