Hi everyone, my rasa version is Rasa 1.7.0
I am trying to develop a conversational AI for user information collection where I need to collect information like mobile number and age. Also, my bot will have option selection with the user provided selection number. But, my conversation always gets confused between mobile and age intents although I have set regex_mobile and regex_age intents for mobile and age respectively in nlu file. I have also tried event-base called with return[UserUttered(text="/", parse_data= {“intent”: {“name”: “your_intent_name”, “confidence”: 1.0},“entities”: {}})]. Also, MemoizationPolicy’s max_history: 1. But every time it gets confused. I have also tried to create stories using Rasa X but that also didn’t work. Snippet of my config, nlu, and stories are:
NLU file:
## intent:mobile_number
- [919546321525](regex_mobile)
- -------------
- -------------
## regex_mobile
- ^(91){1}[1-9]{1}[0-9]{9}$
## intent:age_entry
- [12](regex_age)
- [45](regex_age)
- [85](regex_age)
- [78](regex_age)
- [21](regex_age)
- [56](regex_age)
- -----
- -------
##regex_age
- ^(1[89]|[2-9][0-9])$
stories:
## New Registration Story
* welcome
- utter_mobile
* mobile_number{"regex_mobile":"919005839050"}
- action_mobile
* --------
- -----
* ----------
- -----------
* ---------
- -----------
* age_entry{"regex_age":"31"}
- action_age
* -----------
- ------------
and, config file
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en
pipeline: supervised_embeddings
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
- name: MemoizationPolicy
max_history: 1
- name: MappingPolicy
- name: KerasPolicy
- name: FormPolicy
Kindly, help me in sorting out this issue. I have tried several suggestions available in the forum.